From 3ea931c3fa56abbe486d78bccd376cf294c309db Mon Sep 17 00:00:00 2001 From: Bill Denney Date: Tue, 19 Nov 2024 12:24:55 -0500 Subject: [PATCH] Clarify SAS warning Co-authored-by: Sam Firke --- R/sas_dates.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/sas_dates.R b/R/sas_dates.R index d4be122..e1d6682 100644 --- a/R/sas_dates.R +++ b/R/sas_dates.R @@ -24,7 +24,7 @@ sas_numeric_to_date <- function(date_num, datetime_num, time_num, tz = "UTC") { stopifnot(is.character(tz)) stopifnot(length(tz) == 1) if (tz != "UTC") { - warning("`tz` in SAS does not appear to be stored with the source data; please verify timezone conversion is correct") + warning("SAS may not properly store timezones other than UTC. Consider confirming the accuracy of the resulting data.") } if (has_date & has_datetime) { stop("Must not give both `date_num` and `datetime_num`")