Skip to content

Commit

Permalink
Change indexTZ() to tzone()
Browse files Browse the repository at this point in the history
Missed this change while working on joshuaulrich#245. Thanks to Claymore Marshall
for catching it!
  • Loading branch information
joshuaulrich committed Feb 11, 2020
1 parent bdfa653 commit 21d9c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/xts.methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}

# handle timezone
tz <- indexTZ(x)
tz <- tzone(x)
secOfDay <- as.POSIXlt(index(x), tz = tz)
secOfDay <- secOfDay$hour*60*60 + secOfDay$min*60 + secOfDay$sec

Expand Down

0 comments on commit 21d9c5a

Please sign in to comment.