NEWS
timechange 0.3.0.9000
timechange 0.3.0 (2024-01-18)
Bug fixes
- lubridate#1122 Implement force_tz fallback for GMT on system where GMT is missing in zoneinfo.
- lubridate#1114 Fix rounding of infinite times
- Fix %ld compile printf compiler warning
Breaking Changes
- For consistency reasons
time_round()
no longer fallbacks on round.POSIXct()
. This affects only rounding on repeated DST transitions. By default timechange
rounding operates on clock time, but round.POSIXct()
operates on absolute time. For old behavior use absolute units (asecs
, amins
, ahours
, etc).
timechange 0.2.0 (2023-01-11)
New Features
- #22 Implement absolute units
aminute
and ahour
- #23 Implement new
roll_dst
parameters xfirst
and xlast
to allow for directional crossing of the DST gap
- Rounding gain new
origin
parameter with respect to which to round with "absolute" units.
Bug Fixes
- #16 Rounding unit parser is now conformant to R numeric parser
- #23 Respect
tzone
attributes of Date objects.
Internals
- #17 Simplified and refactored unit parser.
timechange 0.1.1 (2022-11-04)
Changes
- Follow vctrs replication rules
- Change arguments of
time_add()
and time_subtract()
to singulars
- Build on top of cpp11 instead of Rcpp
timechange 0.1.0 (2022-10-30)
New Features:
- Refactor
roll_month
and roll_dst
parameterisation
- more intuitive names
- full control over the behavior of repeated and skipped DST intervals
time_update()
gains new argument exact = FALSE
in order to enforce very strict updating rules
timechange 0.0.2 (2020-10-05)
New Features:
- New function
time_get()
for extraction of date-time components
Bug Fixes:
- #8 Correctly handle infinite date-times
Changes:
- Rename global option "week_start" -> "timechange.week_start"
timechange 0.0.1 (2018-04-26)
Initial Release