Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove usage of non-standard EST time zone from tests #106

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
})
Loading