tidyverse / hms

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

Cannot format times to show partial seconds #19

Closed jimhester closed 8 years ago

jimhester commented 8 years ago

As seen in hadley/readr#379, there is no way to specify you want "%H:%M:%OS#" as the output format.

time <- readr::parse_time("6:19:43.722", "%H:%M:%OS")
format(time)
#> [1] "06:19:43"
as.character(time)
#> [1] "06:19:43"
jimhester commented 8 years ago

Actually it looks like this is now fixed in the devel version, sorry for the spam!

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.