From 30bc37f86644609a9bab3ec6b1cf173071213242 Mon Sep 17 00:00:00 2001 From: Andrew Gene Brown Date: Wed, 18 Sep 2024 16:38:47 -0700 Subject: [PATCH] pass user-specified timezone to `waterDayYear()` --- R/fetchSCAN.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/fetchSCAN.R b/R/fetchSCAN.R index 7fe66876..e6bebfe2 100644 --- a/R/fetchSCAN.R +++ b/R/fetchSCAN.R @@ -306,7 +306,7 @@ fetchSCAN <- function(site.code = NULL, year = NULL, report = 'SCAN', timeseries d.long <- d.long[idx, ] # water year/day: October 1st -- September 30th - w <- waterDayYear(d.long$Date) + w <- waterDayYear(d.long$Date, tz = tz) # row-order is preserved d.long$water_year <- w$wy