You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't quite understand why to use years in seconds_to_period in the first place. The code is not using months. I think it should not use years either.
Ok. I am removing years from there. We will probably need to add an optional argument that users could also use an approximate conversion to years and months. I am not sure on a clean interface yet. Probably something like units = c("day", "hour", "minute", "second") which is a bit verbose, and/or units = "dhms".
period_to_seconds
considers that a year is equal 365 days whileseconds_to_period
considers that a year is equal to 365.25 days.Therefore:
The text was updated successfully, but these errors were encountered: