Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upInconsistency between period_to_seconds and seconds_to_period #294
Comments
|
I don't quite understand why to use years in |
|
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 |
period_to_secondsconsiders that a year is equal 365 days whileseconds_to_periodconsiders that a year is equal to 365.25 days.Therefore: