Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upbug adding days to POSIXct object in version 1.7.2 #643
Comments
|
This is a version of #642. Could you please move the discussion there. Thanks. |
|
It should have been fixed in master. Could you please |
|
It works with the latest github version. Thanks! |
Using lubridate version 1.7.2 I have encountered the following behaviour when adding one day to a POSIXct object:
The month is changed from july to june. This only happens when certain other packages are loaded (e.g. rgdal), and it doesn't happen every time you execute it (?):
It also doesn't happen with all dates, some dates seem to work fine (e.g. "2017-07-02")
and seems to work when specifying a time zone:
Here is my session info: