-
-
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
[R-Forge #2577] time-based to Date-based index causes 'duplicate' index values #53
Comments
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
Submitted by: Joshua Ulrich
Assigned to: Jeff Ryan
R-Forge link
From an email exchange with Garrett See:
I think going from time-based to date-based is common practice and should be supported. However, I probably don't fully appreciate the problem.
Perhaps a better illustration is
to.daily()
which already returns an object indexed by Date, but that object has anindexTZ
:Followups:
Date: 2013-02-24 03:38
Sender: Jeff Ryan
Note that this is really an R issue, though one that I would of course like to mask with xts.
.drop.time
should probably use theformat()
approach to assure the avoidance of Dates in R as converted fromPOSIXct
.Date: 2013-03-02 17:43
Sender: Garrett See
Would it suffice to have
to.period
just provide the timezone when converting the index to Date.?The text was updated successfully, but these errors were encountered: