v2.0.0 π¨ CONTAINS BREAKING CHANGES π¨
π¨ WARNING: THIS RELEASE CONTAINS BREAKING CHANGES π¨
@Pipo31416 Suggested a round paramter in #39. I thought this was a great suggestion, but decided to implement it differently, causing an almost complete rewrite of the macro. So that's why I named this release 2.0.0 :)
π¨ BREAKING CHANGES
- The parameters
month,weekandmillisecondare removed. They can be set by adding these time parts to thenot_useparameter - The parameter
verboseis removed. It was doing the exact opposite of the parameter name, and was already replaced by theabbrparameter some time ago
π IMPROVEMENTS
- a new parameter
round_modehas been added. By default this is set to"floor"meaning it will round the last shown time part down. Other options are"ceil"(always round up) and"common"which will round up if the remaining timedelta is 0.5 or more of the last shown time part. (eg 30 minutes or more if the last shown time part is hour). - you can use
"all"for theshow_allparameter to show all time parts. The time parts set in thenot_useparameter will be leading, so egalways_show='all', not_show='day'will show all time parts (even when they are0) expect for the days.
π BUG FIXES
- the time parts set in
always_showwould not always be shown
What's Changed
Full Changelog: v1.3.2...v1.4.0