What is the correct date format for the new writexl
package? I tried it on lubridate
dates, and the resulting Excel spreadsheet contains strings of the form yyyy-mm-dd
(i.e. not Excel dates).
It worked when I converted my dates to POSIXct
dates using as.POSIXct
.