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

Allow using POSIXct for zoo index #31

Open
josephguillaume opened this issue Oct 25, 2017 · 1 comment · May be fixed by #186
Open

Allow using POSIXct for zoo index #31

josephguillaume opened this issue Oct 25, 2017 · 1 comment · May be fixed by #186
Assignees
Milestone

Comments

@josephguillaume
Copy link
Owner

At the moment, chron needs to be used. The problem appears to be in the use of as.ts/zoo:::as.ts.zooreg

@josephguillaume
Copy link
Owner Author

josephguillaume commented Mar 28, 2021

Apparently POSIXct is not a problem, though POSIXlt is
In the reproducible example in https://groups.google.com/g/hydromad-users/c/sGdxOnlS5AU/m/716wTAxaBgAJ, it turns out the error was the inappropriate specification of frequency=24. Converting to chron was not necessary.

@josephguillaume josephguillaume linked a pull request Mar 28, 2021 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant