We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Potentially related to #123 (and thus #160), but vroom::col_date() seems to fail at parsing dates like 10/9/2017 10:52:01 AM
vroom::col_date()
10/9/2017 10:52:01 AM
library(vroom) packageVersion("vroom") #> [1] '1.0.2.9000' vroom::vroom( file = "x\n10/9/2017 10:52:01 AM\n", col_type = vroom::cols( x = vroom::col_date(format = "%m/%d/%Y %H:%M:%S %p") ) ) #> # A tibble: 1 x 1 #> x #> <date> #> 1 NA
Created on 2019-07-29 by the reprex package (v0.3.0)
It looks like the readr::col_date() alternative works fine.
readr::col_date()
library(readr) packageVersion("readr") #> [1] '1.3.1' read_csv( file = "x\n10/9/2017 10:52:01 AM\n", col_type = readr::cols( x = readr::col_date(format = "%m/%d/%Y %H:%M:%S %p") ) ) #> # A tibble: 1 x 1 #> x #> <date> #> 1 2017-10-09
The text was updated successfully, but these errors were encountered:
add NEWS entry; tidyverse#123, also fixes tidyverse#170
a3d2da0
9625ca7
col_datetime()
parse_datetime()
No branches or pull requests
Potentially related to #123 (and thus #160), but
vroom::col_date()
seems to fail at parsing dates like10/9/2017 10:52:01 AM
Created on 2019-07-29 by the reprex package (v0.3.0)
It looks like the
readr::col_date()
alternative works fine.Created on 2019-07-29 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: