Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing dates with my seems to have a limit size #1157

Open
stephLH opened this issue Feb 19, 2024 · 0 comments
Open

Parsing dates with my seems to have a limit size #1157

stephLH opened this issue Feb 19, 2024 · 0 comments

Comments

@stephLH
Copy link

stephLH commented Feb 19, 2024

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)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant