From 4fb1eb33b3941f5e0ef568262a9a90798693d53c Mon Sep 17 00:00:00 2001 From: Ayla Pearson Date: Tue, 7 Nov 2023 16:38:10 -0800 Subject: [PATCH] adding origin to other outputs --- tests/testthat/test-excel_to_date_time.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-excel_to_date_time.R b/tests/testthat/test-excel_to_date_time.R index 46d11d4..ad39f55 100644 --- a/tests/testthat/test-excel_to_date_time.R +++ b/tests/testthat/test-excel_to_date_time.R @@ -73,7 +73,7 @@ test_that("handles NA values", { ) expect_equal( dtt_excel_to_date_time(NA_integer_), - as.POSIXct(NA_integer_, tz = "UTC") + as.POSIXct(NA_integer_, tz = "UTC", origin = "1900-01-01") ) expect_equal( dtt_excel_to_date_time(c(NA_real_, 1000.1145)),