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
{{ message }}
Repository navigation
Feature request - precision control on time diff formatting #63
I second this, or at least, make it more obvious that the value is not precise.
Right now, the output is the same for both of these:
λ> format (diff False) (24*3600)
"a day"
λ> format (diff False) (47*3600)
"a day"
Which is confusing. I'm not sure about whether it should be multi-unit (e.g. a day and 23 hours), or approximate (almost two days), but I think saying 47:59:59 is "a day" is factually wrong. Similar for "a year".
Any thoughts on what would best, or at least acceptable here?
Activity
iustin commentedon Apr 16, 2023
I second this, or at least, make it more obvious that the value is not precise.
Right now, the output is the same for both of these:
Which is confusing. I'm not sure about whether it should be multi-unit (e.g. a day and 23 hours), or approximate (almost two days), but I think saying 47:59:59 is "a day" is factually wrong. Similar for "a year".
Any thoughts on what would best, or at least acceptable here?