v0.4.8, datediff, Wrong Result
devjev opened this issue · 1 comments
devjev commented
Hi everyone,
just noticed this oddity in datediff
:
$ datediff 14:14 16:47
9180s
The correct answer is 153 seconds. Which is incidentally 9180 divided by 60. So it seems that conversion to seconds happens twice in this case.
hroptatyr commented
Hi, thanks for the report.
Let me point out that 14:14 is read as 14:14:00, and similarly 16:47 is read as 16:47:00, i.e. seconds have been omitted in both cases.