126c5cec05
Version 1.7.10 ============== ### NEW FEATURES * `fast_strptime()` and `parse_date_time2()` now accept multiple formats and apply them in turn ### BUG FIXES * [#926](https://github.com/tidyverse/lubridate/issues/926) Fix incorrect division of intervals by months involving leap years * Fix incorrect skipping of digits during parsing of the `%z` format Version 1.7.9.2 =============== ### NEW FEATURES * [#914](https://github.com/tidyverse/lubridate/issues/914) New `rollforward()` function * [#928](https://github.com/tidyverse/lubridate/issues/928) On startup lubridate now resets TZDIR to a proper directory when it is set to non-dir values like "internal" or "macOS" (a change introduced in R4.0.2) * [#630](https://github.com/tidyverse/lubridate/issues/630) New parsing functions `ym()` and `my()` ### BUG FIXES * [#930](https://github.com/tidyverse/lubridate/issues/930) `as.period()` on intervals now returns valid Periods with double fields (not integers) Version 1.7.9 ============= ### NEW FEATURES * [#871](https://github.com/tidyverse/lubridate/issues/893) Add `vctrs` support ### BUG FIXES * [#890](https://github.com/tidyverse/lubridate/issues/890) Correctly compute year in `quarter(..., with_year = TRUE)` * [#893](https://github.com/tidyverse/lubridate/issues/893) Fix incorrect parsing of abbreviated months in locales with trailing dot (regression in v1.7.8) * [#886](https://github.com/tidyverse/lubridate/issues/886) Fix `with_tz()` for POSIXlt objects * [#887](https://github.com/tidyverse/lubridate/issues/887) Error on invalid numeric input to `month()` * [#889](https://github.com/tidyverse/lubridate/issues/889) Export new dmonth function Version 1.7.8 ============= ### NEW FEATURES * (breaking) Year and month durations now assume 365.25 days in a year consistently in conversion and constructors. Particularly `dyears(1) == years(1)` is now `TRUE`. * Format and print methods for 0-length objects are more consistent. * New duration constructor `dmonths()` to complement other duration constructors. * * `duration()` constructor now accepts `months` and `years` arguments. * [#629](https://github.com/tidyverse/lubridate/issues/629) Added `format_ISO8601()` methods. * [#672](https://github.com/tidyverse/lubridate/issues/672) Eliminate all partial argument matches * [#674](https://github.com/tidyverse/lubridate/issues/674) `as_date()` now ignores the `tz` argument * [#675](https://github.com/tidyverse/lubridate/issues/675) `force_tz()`, `with_tz()`, `tz<-` convert dates to date-times * [#681](https://github.com/tidyverse/lubridate/issues/681) New constants `NA_Date_` and `NA_POSIXct_` which parallel built-in primitive constants. * [#681](https://github.com/tidyverse/lubridate/issues/681) New constructors `Date()` and `POSIXct()` which parallel built-in primitive constructors. * [#695](https://github.com/tidyverse/lubridate/issues/695) Durations can now be compared with numeric vectors. * [#707](https://github.com/tidyverse/lubridate/issues/707) Constructors return 0-length inputs when called with no arguments * [#713](https://github.com/tidyverse/lubridate/issues/713) (breaking) `as_datetime()` always returns a `POSIXct()` * [#717](https://github.com/tidyverse/lubridate/issues/717) Common generics are now defined in `generics` dependency package. * [#719](https://github.com/tidyverse/lubridate/issues/719) Negative Durations are now displayed with leading `-`. * [#829](https://github.com/tidyverse/lubridate/issues/829) `%within%` throws more meaningful messages when applied on unsupported classes * [#831](https://github.com/tidyverse/lubridate/issues/831) Changing hour, minute or second of Date object now yields POSIXct. * [#869](https://github.com/tidyverse/lubridate/issues/869) Propagate NAs to all internal components of a Period object ### BUG FIXES * [#682](https://github.com/tidyverse/lubridate/issues/682) Fix quarter extraction with small `fiscal_start`s. * [#703](https://github.com/tidyverse/lubridate/issues/703) `leap_year()` works with objects supported by `year()`. * [#778](https://github.com/tidyverse/lubridate/issues/778) `duration()/period()/make_difftime()` work with repeated units * `c.Period` concatenation doesn't fail with empty components. * Honor `exact = TRUE` argument in `parse_date_time2`, which was so far ignored. Version 1.7.4 ============= ### NEW FEATURES * [#658](https://github.com/tidyverse/lubridate/issues/658) `%within%` now accepts a list of intervals, in which case an instant is checked if it occurs within any of the supplied intervals. ### CHANGES * [#661](https://github.com/tidyverse/lubridate/issues/661) Throw error on invalid multi-unit rounding. * [#633](https://github.com/tidyverse/lubridate/issues/633) `%%` on intervals relies on `%m+` arithmetic and doesn't produce NAs when intermediate computations result in non-existent dates. * `tz()` always returns "UTC" when `tzone` attribute cannot be inferred. ### BUG FIXES * [#664](https://github.com/tidyverse/lubridate/issues/664) Fix lookup of period functions in `as.period` * [#649](https://github.com/tidyverse/lubridate/issues/664) Fix system timezone memoization Version 1.7.3 ============= ### BUG FIXES * [#643](https://github.com/tidyverse/lubridate/issues/643), [#640](https://github.com/tidyverse/lubridate/issues/640), [#645](https://github.com/tidyverse/lubridate/issues/645) Fix faulty caching of system timezone. |
||
---|---|---|
.. | ||
DESCR | ||
distinfo | ||
Makefile |