thisisnic commented on issue #39754: URL: https://github.com/apache/arrow/issues/39754#issuecomment-1917056416
What's happening here is that "12JAN2004" is in the format which lubridate refers to as dBY or dbY (see `?lubridate::parse_date_time` for the full spec). The `dmy()` binding in the arrow package is a wrapper around the `parse_date_time()` binding. In our docs for `parse_date_time()`, it notes that "parse_date_time(): quiet = FALSE is not supported Available formats are H, I, j, M, S, U, w, W, y, Y, R, T. On Linux and OS X additionally a, A, b, B, Om, p, r are available." Therefore on Windows, we wouldn't expect that code to work as b and B are not supported. I assume this is due to tzdata on Windows (which will be doing the parsing in the background) as noted by @assignUser. Therefore, this isn't a bug, but is expected behaviour. We should update our docs to make it easier to find this information though, as it's not immediately obvious to find without knowing that `dmy()` calls `parse_date_time()`. Thanks for reporting this @hamgamb! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
