I'm getting an error when I try to assign time zones with lubridate::ymd()
. The example uses "Australia/Adelaide" (and fails), I've also tried "America/New_York" from the lubridate::force_tz()
example, and my own time zone, "Australia/Brisbane"; they both also fail. However, using "UTC" is fine.
Reprex
start_date = "2020-04-26"
start_hour = 0
time_zone = "Australia/Adelaide"
start_time = lubridate::ymd(start_date, tz = time_zone) +
lubridate::dhours(start_hour)
#> Error in C_force_tz(time, tz = tzone, roll): CCTZ: Unrecognized output timezone: "Australia/Adelaide"
Created on 2020-11-01 by the reprex package (v0.3.0)
Platform info
sessioninfo::platform_info()
setting value
version R version 4.0.3 (2020-10-10)
os macOS Catalina 10.15.7
system x86_64, darwin17.0
ui RStudio
language (EN)
collate en_AU.UTF-8
ctype en_AU.UTF-8
tz Australia/Brisbane
date 2020-11-01
Any ideas what the issue is here? This was working until just Thursday or Friday this week.