We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a41a9d1 commit db921fcCopy full SHA for db921fc
tests/testthat/tests_general.R
@@ -537,9 +537,10 @@ test_that("format_dates", {
537
expect_equal(dataRetrieval:::format_api_dates(end, TRUE),
538
"../2021-01-01")
539
540
- end <- c(NA, as.POSIXct("2021-01-01 12:15:00"))
541
- expect_equal(dataRetrieval:::format_api_dates(end),
542
- "../2021-01-01T18:15:00Z")
+ # Bad test because it assumes a local timezone
+ # end <- c(NA, as.POSIXct("2021-01-01 12:15:00"))
+ # expect_equal(dataRetrieval:::format_api_dates(end),
543
+ # "../2021-01-01T18:15:00Z")
544
545
start_end <- as.POSIXct(c("2021-01-01 12:15:00",
546
"2022-01-01 16:45"))
0 commit comments