Path to this page:
./
time/R-lubridate,
Make Dealing with Dates a Little Easier
Branch: CURRENT,
Version: 1.9.3,
Package name: R-lubridate-1.9.3,
Maintainer: pkgsrc-usersFunctions to work with date-times and time-spans: fast and user
friendly parsing of date-time data, extraction and updating of
components of a date-time (years, months, days, hours, minutes, and
seconds), algebraic manipulation on date-time and time-span objects.
The 'lubridate' package has a consistent and memorable syntax that
makes working with dates easy and fun. Parts of the 'CCTZ' source
code, released under the Apache 2.0 License, are included in this
package. See <https://github.com/google/cctz> for more details.
Master sites: (Expand)
Version history: (Expand)
- (2024-01-14) Updated to version: R-lubridate-1.9.3
- (2023-06-05) Updated to version: R-lubridate-1.9.2
- (2021-05-30) Updated to version: R-lubridate-1.7.10
- (2020-08-07) Package added to pkgsrc.se, version R-lubridate-1.7.4 (created)
CVS history: (Expand)
2024-01-14 14:34:00 by Makoto Fujiwara | Files touched by this commit (2) |
Log message:
(time/R-lubridate) Updated 1.9.2 to 1.9.3
Version 1.9.3
=============
### NEW FEATURES
* [#682](https://github.com/tidyverse/lubridate/issues/682#issuecomment-1635910435)
Add type="year_start/end" argument to `quarter()` which produces
a complete description of the quarter.
### BUG FIXES
* [#1109](https://github.com/tidyverse/lubridate/issues/1109)
Fix recycling of the year slot in `as.period(unit = "month")` with \
Periods and Intervals.
* [#1133](https://github.com/tidyverse/lubridate/issues/1133)
Don't error on addition on infinite periods.
|
2023-06-05 14:25:59 by Makoto Fujiwara | Files touched by this commit (2) | |
Log message:
(time/R-lubridate) Updated 1.7.10 to 1.9.2
Version 1.9.2
=============
### BUG FIXES
* [#1104](https://github.com/tidyverse/lubridate/issues/1104) Fix
incorrect parsing of months when %a format is present.
### OTHER
* Adapt to internal name changes in R-devel
Version 1.9.1
=============
### NEW FEATURES
* `as_datetime()` accepts multiple formats in format argument, just like \
`as_date()` does.
### BUG FIXES
* [#1091](https://github.com/tidyverse/lubridate/issues/1091) Fix
formatting of numeric inputs to parse_date_time.
* [#1092](https://github.com/tidyverse/lubridate/issues/1092) Fix
regression in `ymd_hm` on locales where `p` format is not defined.
* [#1097](https://github.com/tidyverse/lubridate/issues/1097) Fix
`as_date("character")` to work correctly with formats that include
extra characters.
* [#1098](https://github.com/tidyverse/lubridate/issues/1098) Roll
over the month boundary in `make_dateime()` when units exceed their
maximal values.
* [#1090](https://github.com/tidyverse/lubridate/issues/1090)
timechange has been moved from Depends to Imports.
Version 1.9.0
=============
### NEW FEATURES
* `roll` argument to updating and time-zone manipulation functions is
deprecated in favor of a new `roll_dst` parameter.
* [#1042](https://github.com/tidyverse/lubridate/issues/1042)
`as_date` with character inputs accepts multiple formats in `format`
argument. When `format` is supplied, the input string is parsed with
`parse_date_time` instead of the old `strptime`.
* [#1055](https://github.com/tidyverse/lubridate/issues/1055)
Implement `as.integer` method for Duration, Period and Interval
classes.
* [#1061](https://github.com/tidyverse/lubridate/issues/1061) Make
`year<-`, `month<-` etc. accessors truly generic. In order to make
them work with arbitrary class XYZ, it's enough to define a
`reclass_date.XYZ` method.
* [#1061](https://github.com/tidyverse/lubridate/issues/1061) Add
support for `year<-`, `month<-` etc. accessors for `data.table`'s
IDate and ITime objects.
* [#1017](https://github.com/tidyverse/lubridate/issues/1017)
`week_start` argument in all lubridate functions now accepts full
and abbreviated names of the days of the week.
* The assignment value `wday<-` can be a string either in English or
as provided by the current locale.
* Date rounding functions accept a date-time `unit` argument for
rounding to a vector of date-times.
* [#1005](https://github.com/tidyverse/lubridate/issues/1005)
`as.duration` now allows for full roundtrip `duration ->
as.character -> as.duration`
* [#911](https://github.com/tidyverse/lubridate/issues/911) C parsers
treat multiple spaces as one (just like strptime does)
* `stamp` gained new argument `exact=FALSE` to indicate whether
`orders` argument is an exact strptime formats string or not.
* [#1001](https://github.com/tidyverse/lubridate/issues/1001) Add
`%within` method with signature (Interval, list), which was
documented but not implemented.
* [#941](https://github.com/tidyverse/lubridate/issues/941)
`format_ISO8601()` gained a new option `usetz="Z"` to format time
zones with a "Z" and convert the time to the UTC time zone.
* [#931](https://github.com/tidyverse/lubridate/issues/931) Usage of
`Period` objects in rounding functions is explicitly documented.
### BUG FIXES
* [#1036](https://github.com/tidyverse/lubridate/issues/1036)
`%within%` now correctly works with flipped intervals
* [#1085](https://github.com/tidyverse/lubridate/issues/1085)
`as_datetime()` now preserves the time zone of the POSIXt input.
* [#1072](https://github.com/tidyverse/lubridate/issues/1072) Names
are now handled correctly when combining multiple Period or Interval
objects.
* [#1003](https://github.com/tidyverse/lubridate/issues/1003)
Correctly handle r and R formats in locales which have no p format
* [#1074](https://github.com/tidyverse/lubridate/issues/1074) Fix
concatination of named Period, Interval and Duration vectors.
* [#1044](https://github.com/tidyverse/lubridate/issues/1044) POSIXlt
results returned by `fast_strptime()` and `parse_date_time2()` now
have a recycled `isdst` field.
* [#1069](https://github.com/tidyverse/lubridate/issues/1069) Internal
code handling the addition of period months and years no longer
generates partially recycled POSIXlt objects.
* Fix rounding of POSIXlt objects
* [#1007](https://github.com/tidyverse/lubridate/issues/1007) Internal
lubridate formats are no longer propagated to stamp formater.
* `train` argument in `parse_date_time` now takes effect. It was
previously ignored.
* [#1004](https://github.com/tidyverse/lubridate/issues/1004) Fix
`c.POSIXct` and `c.Date` on empty single POSIXct and Date vectors.
* [#1013](https://github.com/tidyverse/lubridate/issues/1013) Fix
c(`POSIXct`,`POSIXlt`) heterogeneous concatenation.
* [#1002](https://github.com/tidyverse/lubridate/issues/1002) Parsing
only with format `j` now works on numeric inputs.
* `stamp()` now correctly errors when no formats could be guessed.
* Updating a date with timezone (e.g. `tzs = "UTC"`) now returns a POSIXct.
### INTERNALS
* `lubridate` is now relying on `timechange` package for update and
time-zone computation. Google's CCTZ code is no longer part of the
package.
* `lubridate`'s updating logic is now built on top of `timechange`
package.
* Change implementation of `c.Period`, `c.Duration` and `c.Interval`
from S4 to S3.
Version 1.8.0
=============
### NEW FEATURES
* [#960](https://github.com/tidyverse/lubridate/issues/960)
`c.POSIXct` and `c.Date` can deal with heterogeneous object types
(e.g `c(date, datetime)` works as expected)
### BUG FIXES
* [#994](https://github.com/tidyverse/lubridate/issues/994)
Subtracting two duration or two period objects no longer results in
an ambiguous dispatch note.
* `c.Date` and `c.POSIXct` correctly deal with empty vectors.
* `as_datetime(date, tz=XYZ)` returns the date-time object with HMS
set to 00:00:00 in the corresponding `tz`
### CHANGES
* [#966](https://github.com/tidyverse/lubridate/pull/966) Lubridate is
now built with cpp11 (contribution of @DavisVaughan)
|
2021-10-26 13:24:47 by Nia Alarie | Files touched by this commit (263) |
Log message:
time: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
|
2021-10-07 17:04:23 by Nia Alarie | Files touched by this commit (263) |
Log message:
time: Remove SHA1 hashes for distfiles
|
2021-05-30 17:56:22 by Makoto Fujiwara | Files touched by this commit (2) |
Log message:
(time/R-lubridate) Updated 1.7.4 to 1.7.10
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.
|
2020-08-07 04:33:42 by Brook Milligan | Files touched by this commit (3) |
Log message:
time/R-lubridate: import R-lubridate-1.7.4
Functions to work with date-times and time-spans: fast and user
friendly parsing of date-time data, extraction and updating of
components of a date-time (years, months, days, hours, minutes, and
seconds), algebraic manipulation on date-time and time-span objects.
The 'lubridate' package has a consistent and memorable syntax that
makes working with dates easy and fun. Parts of the 'CCTZ' source
code, released under the Apache 2.0 License, are included in this
package. See <https://github.com/google/cctz> for more details.
|