Skip to content

Commit 46061fb

Browse files
Update tests/testthat/test-utils.R
Co-authored-by: brookslogan <[email protected]>
1 parent 7273781 commit 46061fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test-utils.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,8 @@ test_that("guess_period works", {
251251
weekly_posixcts
252252
)
253253
# On POSIXlts:
254-
daily_posixlts <- as.POSIXlt(daily_dates, tz = "UTC") + 3600
255-
weekly_posixlts <- as.POSIXlt(weekly_dates, tz = "UTC") + 3600
254+
daily_posixlts <- as.POSIXlt(daily_dates, tz = "US/Aleutian") + 3600
255+
weekly_posixlts <- as.POSIXlt(weekly_dates, tz = "US/Aleutian") + 3600
256256
expect_identical(
257257
daily_posixlts[[1L]] + guess_period(daily_posixlts) * (seq_along(daily_posixlts) - 1L),
258258
daily_posixlts

0 commit comments

Comments
 (0)