lubridate
lubridate copied to clipboard
Parsing dates with `my` seems to have a limit size
I'm using devel version of lubridate just to be sure my problem has not been solved lately.
I am parsing dates with my
function.
My vector has wrong formats at beginning, then one right format :
my(c(rep("201908", 98), "032022"))
It returns desired result with a full vector length of 99.
If I set a 100-length vector instead, my date parsing at postion 100 fails :
my(c(rep("201908", 99), "032022"))
This limit does not apply if the vector starts with one right format :
my(c("032022", rep("201908", 99)))