hydromad icon indicating copy to clipboard operation
hydromad copied to clipboard

Allow using POSIXct for zoo index

Open josephguillaume opened this issue 7 years ago • 1 comments

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

josephguillaume avatar Oct 25 '17 08:10 josephguillaume

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 avatar Mar 28 '21 04:03 josephguillaume