Skip to content

Commit

Permalink
Replace deprecated timezone
Browse files Browse the repository at this point in the history
As advised by CRAN.

  The errors on the Debian check systems are from a recent system upgrade
  to tzdata 2024b which did

     Names present only for compatibility with UNIX System V
     (last released in the 1990s) have been moved to 'backward'.

  which includes CET, CST6CDT, EET, EST*, HST, MET, MST*, PST8PDT, and
  WET.

  Debian ships the names in 'backward' in a separate package tzdata-legacy
  which is not installed "by default".

  The comments in the tzdata 'backward' file say

  # Although this file is optional and tzdb will work if you omit it by
  # building with 'make BACKWARD=', in practice downstream users
  # typically use this file for backward compatibility.

  so clearly one cannot unconditionally assume that the backward
  compatibility names will work.
  • Loading branch information
nacnudus committed Nov 23, 2024
1 parent 9aba44e commit dfde952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-concatenate.R
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ test_that("concatenate() handles timezones", {
)
)
x <- as.POSIXct("2018-01-01 01:00:00", tz = "UTC")
y <- as.POSIXct("2018-04-01 01:00:00", tz = "EST")
y <- as.POSIXct("2018-04-01 01:00:00", tz = "America/Panama")
expect_equal(
concatenate(list(x, y)),
as.POSIXct(c(
Expand Down

0 comments on commit dfde952

Please sign in to comment.