ropensci / charlatan

Create fake data in R

Home Page:https://docs.ropensci.org/charlatan/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

sckott opened this issue · comments

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