Releases: Petro31/easy-time-jinja
Releases · Petro31/easy-time-jinja
2.0.0
New Features
- All _time and _between macros now support a new argument,
short
. Settingshort=True
in these macros will output abbreviated times. E.g.12hr 53min
. #22 easy_time
,easy_relative_time
, andeasy_time_between
now round by default. Usefloor=True
to get back old functionality. #21month
andweekday
now support datetime objects as inputs. #24
Bug Fixes
- Fixed an issue with
count_the_days
returning a carriage return with the numerical day. Fixes #23 and #17.
Optimizations
- Translations should be faster.
- All functions were optimized.
- Reduced number of loops required to generate easy times.
- Removed type conversions which slowed all _time and _between macros
- Removed large memory footprint for phrase generation
1.0.9.2
1.0.9.1
1.0.9
1.0.8.1
1.0.8
1.0.7
1.0.6
New Features
- Add a max period to easy_time, big_time, easy_relative_time, big_relative_time
- Add input_datetime time only helpers
- Added assumptions about calendar entities with easy and relative time macros
Bug Fixes & Other
- Refactored the brains to pave the way towards timedeltas, duration sensors, timedelta formatting, countdowns, and differences between 2 'time' inputs.