joshuaulrich / xts

Extensible time series class that provides uniform handling of many R time series classes by extending zoo.
http://joshuaulrich.github.io/xts/
GNU General Public License v2.0
220 stars 71 forks source link

Remove integer returning code for zero length POSIXct. #364

Closed JasperSch closed 2 years ago

JasperSch commented 2 years ago

This is more consistent in terms of data typing. Fixes #363.

Tried to follow PR guidelines, hopefully I didn't overlook something. Did not attempt to include new tests since I'm only used to testthat. Please give some guidelines on how/where to include them if deemed needed.

joshuaulrich commented 2 years ago

Thanks for the report and PR! I'll add some tests.