tidyverse / hms

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

Add digits argument to round_hms() and trunc_hms() #78

Closed krlmlr closed 3 years ago

krlmlr commented 5 years ago

round_hms(digits = 1) would map to round_hms(secs = 0.1); round_hms(digits = -2) would map to round_hms(secs = 60) .

hglanz commented 4 years ago

I'm tackling this for tidy-dev-day 2020. Will finish remotely.

First draft of changes are in forked repo, with error messages and documentation left to finish.

github-actions[bot] commented 2 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.