Skip to content
Snippets Groups Projects
Commit 0868c1a5 authored by Laura A DeCicco's avatar Laura A DeCicco
Browse files

Critical timezone bug.

parent d0d2ec82
No related branches found
No related tags found
1 merge request!39Overhaul of function names. Move some functionality to EGRET.
...@@ -207,7 +207,7 @@ importWaterML1 <- function(obs_url,asDateTime=FALSE, tz=""){ ...@@ -207,7 +207,7 @@ importWaterML1 <- function(obs_url,asDateTime=FALSE, tz=""){
datetime <- substr(datetime,1,23) datetime <- substr(datetime,1,23)
datetime <- as.POSIXct(datetime, "%Y-%m-%dT%H:%M:%OS", tz = "UTC") datetime <- as.POSIXct(datetime, "%Y-%m-%dT%H:%M:%OS", tz = "UTC")
datetime <- datetime - tzHours*60*60 datetime <- datetime + tzHours*60*60
df$tz_cd <- as.character(zoneAbbrievs[tzOffset]) df$tz_cd <- as.character(zoneAbbrievs[tzOffset])
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment