Skip to content

Commit

Permalink
fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
schochastics committed Mar 28, 2024
1 parent 7f1335d commit 1db7073
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-timeless.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ test_that("chronos works with supported formats", {
})

test_that("timezone conversion #14", {
res <- chronos(bench_date[5], tz = "America/Los_Angeles", to_tz = "CET")
expect_true(res == as.POSIXct("2017-11-26 08:34:50 CET"))
res <- chronos(bench_date[5], tz = "America/Los_Angeles", to_tz = "UTC")
expect_true(res == as.POSIXct("2017-11-26 07:34:50 UTC", tz = "UTC"))
})

0 comments on commit 1db7073

Please sign in to comment.