Skip to content

Commit

Permalink
Remove usage of non-standard EST time zone from tests (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisVaughan authored Dec 3, 2024
1 parent 699b40e commit b591ca3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# tibbletime (development version)

* Removed usage of the non-standard `EST` time zone from tests.

# tibbletime 0.1.8

* Multi-week periods are no longer allowed. These previously threw a warning
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test_create_series.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ test_that("Can create vector series", {
})

test_that("Can alter time zone", {
series <- create_series(~'2013-01-01', '1 day', as_vector = TRUE, tz = "EST")
check <- as.POSIXct("2013-01-01", tz = "EST")
series <- create_series(~'2013-01-01', '1 day', as_vector = TRUE, tz = "America/New_York")
check <- as.POSIXct("2013-01-01", tz = "America/New_York")

expect_equal(series, check)
})

0 comments on commit b591ca3

Please sign in to comment.