We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Submitted by: Joshua Ulrich Assigned to: Joshua Ulrich R-Forge link
For example:
R> x <- xts(, as.Date('2013-03-17')) R> as.POSIXlt(.POSIXct(.index(x)))$wday [1] 6 R> as.POSIXlt(.POSIXct(.index(x), tz=indexTZ(x)))$wday [1] 0
R> Sys.setenv(TZ='America/Chicago') R> x <- xts(, as.POSIXct('2013-03-17', )) R> x <- xts(, as.POSIXct('2013-03-17', tz='America/New_York')) R> as.POSIXlt(.POSIXct(.index(x)))$wday [1] 6 R> as.POSIXlt(.POSIXct(.index(x), tz=indexTZ(x)))$wday [1] 0
Followups:
Date: 2014-09-05 13:12 Sender: Joshua Ulrich Fixed in r844. Thanks to Garrett See for the report and patch.
The text was updated successfully, but these errors were encountered:
joshuaulrich
No branches or pull requests
Submitted by: Joshua Ulrich
Assigned to: Joshua Ulrich
R-Forge link
For example:
R> x <- xts(, as.Date('2013-03-17'))
R> as.POSIXlt(.POSIXct(.index(x)))$wday
[1] 6
R> as.POSIXlt(.POSIXct(.index(x), tz=indexTZ(x)))$wday
[1] 0
R> Sys.setenv(TZ='America/Chicago')
R> x <- xts(, as.POSIXct('2013-03-17', ))
R> x <- xts(, as.POSIXct('2013-03-17', tz='America/New_York'))
R> as.POSIXlt(.POSIXct(.index(x)))$wday
[1] 6
R> as.POSIXlt(.POSIXct(.index(x), tz=indexTZ(x)))$wday
[1] 0
Followups:
Date: 2014-09-05 13:12
Sender: Joshua Ulrich
Fixed in r844. Thanks to Garrett See for the report and patch.
The text was updated successfully, but these errors were encountered: