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

DateTimeProvider: add fuzzy parser to allow all sorts of date formats #107

Open
sckott opened this issue Feb 14, 2019 · 1 comment
Open
Labels

Comments

@sckott
Copy link
Collaborator

sckott commented Feb 14, 2019

@sckott
Copy link
Collaborator Author

sckott commented Feb 14, 2019

gabor suggested calling as.POSIXlt on the result gaborcsardi/parsedate#25

as.POSIXlt(parsedate::parse_date("January 4, 1981 15:00:00"), tz="UTC")
#> [1] "1981-01-04 15:00:00 UTC"

seems to do the job. will investigate further.

also do performance comparisons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants