Skip to content

Commit

Permalink
pass user-specified timezone to waterDayYear()
Browse files Browse the repository at this point in the history
  • Loading branch information
brownag committed Sep 18, 2024
1 parent d96cf6f commit 30bc37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/fetchSCAN.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30bc37f

Please sign in to comment.