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

feature request: format_dateTimes arg to write_excel_csv #553

Closed
t-kalinowski opened this issue Nov 16, 2016 · 1 comment
Closed

feature request: format_dateTimes arg to write_excel_csv #553

t-kalinowski opened this issue Nov 16, 2016 · 1 comment
Labels
feature a feature request or enhancement write ✏️

Comments

@t-kalinowski
Copy link

Excel fails to correctly parse POSIXct columns with the default write_excel_csv settings. Can write_excel_csv have an arg with a sensible default specifying how to format POSIXct columns so excel can properly recognize them?

something like this

write_excel_csv(..., format_POSIXct = '%Y/%m/%d %H:%M')

and it would do something like this:

df <- mutate_if(df, lubridate::is.POSIXct, funs(format.POSIXct(x, '%Y/%m/%d %H:%M')))
@hadley hadley added feature a feature request or enhancement write ✏️ labels Dec 22, 2016
jimhester added a commit to jimhester/readr that referenced this issue Dec 11, 2017
jimhester added a commit that referenced this issue Dec 12, 2017
@lock
Copy link

lock bot commented Sep 25, 2018

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Sep 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature a feature request or enhancement write ✏️
Projects
None yet
Development

No branches or pull requests

2 participants