Skip to content

Commit b591ca3

Browse files
authored
Remove usage of non-standard EST time zone from tests (#106)
1 parent 699b40e commit b591ca3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# tibbletime (development version)
22

3+
* Removed usage of the non-standard `EST` time zone from tests.
4+
35
# tibbletime 0.1.8
46

57
* Multi-week periods are no longer allowed. These previously threw a warning

tests/testthat/test_create_series.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ test_that("Can create vector series", {
5050
})
5151

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

5656
expect_equal(series, check)
5757
})

0 commit comments

Comments
 (0)