tidyverse / hms

A simple class for storing time-of-day values
https://hms.tidyverse.org/
Other
138 stars 25 forks source link

Invalid timestamp - overflow issue #60

Closed andrewsali closed 5 years ago

andrewsali commented 6 years ago

When having nanosecond resolution, the generated hms value can be a non-valid timestamp:

> hms::as.hms(35968.999)
09:59:28.999
> hms::as.hms(35968.9999)
09:59:28.9999
> hms::as.hms(35968.99999)
09:59:28.99999
> hms::as.hms(35968.999999)
09:59:28.999999
> hms::as.hms(35968.9999999)
09:59:281.000000
krlmlr commented 5 years ago

Thanks for reporting. Currently working on it in #64.

github-actions[bot] commented 3 years ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.