-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
to.daily producing duplicates #277
Comments
Thanks for the report! I can replicate. This is ultimately caused by |
This also looks like it may be a duplicate of #53. |
joshuaulrich
added a commit
that referenced
this issue
Nov 3, 2018
Both the indexClass<-.xts() call and the indexTZ<-.xts() calls set the index timezone to UTC, but does not change the actual index values. The call to 'index(x) <- index(x)' updates the values, but the dates will calculated as if the local time is UTC, not the local time of the user-specified xts object. This can cause the output to be different than if the local timezone is used. Convert the index to Date using the local timezone before updating the index timezone. Fixes #53, #277.
Closing because I verified this is a duplicate, and is now fixed. |
joshuaulrich
added a commit
that referenced
this issue
May 12, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The code below results in duplicate date values in
zd
for 2015-10-23.to.daily
should not have produced duplicates.giving:
The text was updated successfully, but these errors were encountered: