r-lib / clock

A Date-Time Library for R
https://clock.r-lib.org
Other
97 stars 4 forks source link

Use more correct coercion path from sys-time to POSIXct #281

Closed DavisVaughan closed 2 years ago

DavisVaughan commented 2 years ago

Closes #278

This ensures we go through promotion to at least second precision by utilizing the existing as_zoned_time() method for sys-time, which already does that.