Skip to content
New issue

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

[R-Forge #2750] Logical operators drop tzone index attribute #10

Closed
joshuaulrich opened this issue Feb 26, 2015 · 0 comments
Closed

[R-Forge #2750] Logical operators drop tzone index attribute #10

joshuaulrich opened this issue Feb 26, 2015 · 0 comments
Labels

Comments

@joshuaulrich
Copy link
Owner

Submitted by: Joshua Ulrich
Assigned to: Joshua Ulrich
R-Forge link

This is because the .xts constructor doesn't pick up the tzone attribute on the index if the tzone argument is missing.

> x <- xts(1:10,Sys.Date()+1:10)
> attributes(.index(x))
$tzone
[1] 'UTC'

$tclass
[1] 'Date'

> attributes(.index(x>1))
$tzone
[1] ''

$tclass
[1] 'Date'

Followups:

Date: 2013-08-26 14:07
Sender: Joshua Ulrich
Fixed in r790.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant