Commit 0cc41da9 authored by Laura A DeCicco's avatar Laura A DeCicco
Browse files

Merge pull request #210 from ldecicco-USGS/master

Bug fix
parents 92909d1f d2a8fc42
......@@ -430,7 +430,7 @@ importWaterML1 <- function(obs_url,asDateTime=FALSE, tz=""){
mergedDF <- data.frame()
}
if(asDateTime){
if(asDateTime & nrow(mergedDF) > 0){
if(tz != ""){
attr(mergedDF$dateTime, "tzone") <- tz
mergedDF$tz_cd <- rep(tz, nrow(mergedDF))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment