lubridate
Makes working with dates and date-times in R straightforward and consistent
lubridate ships parsing fixes, timezone-data churn, and a long-overdue MIT relicense.
◆Recent moves
- 6mo ago
lubridate 1.9.5 relicenses to MIT and fixes timestamp order
lubridate moves to an MIT licence, alongside a timestamp ordering fix. The relicense carries no technical weight but removes a licensing consideration for anyone embedding the package in commercial or differently-licensed work.
View source ↗ - 6mo ago
lubridate 1.9.4 parses partial datetimes like as.POSIXct()
Drops CET and EST as example timezones to accommodate R-devel's tzdata upgrade, and makes as_datetime() parse partial datetimes the way as.POSIXct() already did. The second closes a genuine inconsistency between two functions users treat as interchangeable.
View source ↗ - 3y ago
lubridate 1.9.2 fixes month parsing when %a is present
Fixes incorrect month parsing when the %a format is present, plus adaptation to internal name changes in R-devel. A narrow parsing bug and routine upstream tracking.
View source ↗ - 3y ago
lubridate 1.9.1 accepts multiple formats in as_datetime()
as_datetime() accepts multiple formats like as_date() does, and a cluster of parsing regressions is repaired — numeric inputs to parse_date_time, ymd_hm in locales without a defined p format, as_date() with extra characters in the format. Consistency work across the parsing family.
View source ↗ - 3y ago
lubridate 1.9.0 replaces roll with an explicit roll_dst argument
The last release to change the API meaningfully: roll is deprecated in favour of roll_dst, making daylight-saving intent explicit, as_date() takes multiple character formats parsed via parse_date_time, and as.integer() methods arrive for Duration, Period and Interval.
View source ↗ - 5y ago
lubridate 1.7.10 fixes interval division across leap years
fast_strptime() and parse_date_time2() accept multiple formats and try them in turn, and interval division by months is fixed for cases involving leap years. The leap-year fix is the sort of silent arithmetic error that corrupts results without raising anything.
View source ↗