You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
roll argument to updating and time-zone manipulation functions is deprecated in favor of a new roll_dst parameter.
#1042as_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 Implement as.integer method for Duration, Period and Interval classes.
#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 Add support for year<-, month<- etc. accessors for data.table's IDate and ITime objects.
#1017week_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.
#1005as.duration now allows for full roundtrip duration -> as.character -> as.duration
#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 Add %within method with signature (Interval, list), which was documented but not implemented.
#941format_ISO8601() gained a new option usetz="Z" to format time zones with a "Z" and convert the time to the UTC time zone.
#931 Usage of Period objects in rounding functions is explicitly documented.
BUG FIXES
#1036%within% now correctly works with flipped intervals
#1085as_datetime() now preserves the time zone of the POSIXt input.
#1072 Names are now handled correctly when combining multiple Period or Interval objects.
#1003 Correctly handle r and R formats in locales which have no p format
#1074 Fix concatination of named Period, Interval and Duration vectors.
#1044 POSIXlt results returned by fast_strptime() and parse_date_time2() now have a recycled isdst field.
#1069 Internal code handling the addition of period months and years no longer generates partially recycled POSIXlt objects.
Fix rounding of POSIXlt objects
#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 Fix c.POSIXct and c.Date on empty single POSIXct and Date vectors.