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 upInconsistent date parsing when year is 2- or 4-digits and order "mdy" #556
Comments
|
I tried to find where it could come from but it is not obvious. Training of lubridate found two formats It is not the case with Hope this little investigation could help fix the bug. |
|
Thanks @cderv for spotting this. This was a corner case bug due to the scoring in |
Hi all,
For dates with mixed 2- and 4-digit year, the date-parsing behavior of
parse_date_time()is inconsistent whenorders = "mdy". But, it works fine when, for example,order = "ymd".Examples
R version: 3.4.0
lubridate: lubridate_1.6.0.9009
Thanks in advance.
Best,
Malwina