Skip to content

Commit

Permalink
Tolower calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
eliocamp committed Jun 3, 2024
1 parent 93d1a6f commit ca281ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/ReadNetCDF.R
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ time_units_factor <- c("days" = 24*3600,


.parse_time <- function(time, units, calendar = NULL) {
calendar <- tolower(calendar)
has_since <- grepl("since", units)
if (!has_since) {
return(time)
Expand Down

0 comments on commit ca281ae

Please sign in to comment.