Closed hidekoji closed 3 years ago
I want to keep AzureStor (and all the AzureR packages) as lightweight as possible, so pulling in extra dependencies just for one function doesn't sound like a great fix.
If you have a reproducible example of where the date can't be parsed, can you post it as an issue? Thanks.
This PR addresses the issue that the below columns in list_storage_files result become NA for some occasion.
Switch to use lubridate::dmy_hms instead of as.POSIXct
format="%a, %d %b %Y %H:%M:%S"
won't always work so use lubridate::dmy_hms to make it robust.Changed API name from as_datetime to as_datetime_internal
as_datetime name conflicts with lubirdate::as_datetime conflicts, so to make it less confusing, change the API name to as_datetime_internal