In version 1.9.0, ymd_hm() fails to parse characters such as "2022-11-03 15:05". The output I expect is "2022-11-03 15:05:00 UTC" of class "POSIXct" "POSIXt"
This was the case in versions prior to 1.9.0
In 1.9.0 parsing such data with ymd_hm() raises a warning and returns NA
remotes::install_version('lubridate', version = '1.8.0')
packageVersion('lubridate')
# [1] ‘1.8.0’
x <- "2022-11-03 15:05"
lubridate::ymd_hm(x)
# "2022-11-03 15:05:00 UTC"
# now with 1.9.0
install.packages('lubridate')
packageVersion('lubridate')
# [1] ‘1.9.0’
lubridate::ymd_hm(x)
# [1] NA
# Warning message:
# All formats failed to parse. No formats found.
In version 1.9.0, ymd_hm() fails to parse characters such as "2022-11-03 15:05". The output I expect is "2022-11-03 15:05:00 UTC" of class "POSIXct" "POSIXt" This was the case in versions prior to 1.9.0
In 1.9.0 parsing such data with ymd_hm() raises a warning and returns NA