Mercurial > getan
changeset 513:7cf04ec84eb9
CHANGES: Improve phrasing for human_time() fix.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Mon, 19 Nov 2018 11:24:11 +0100 |
parents | 9d8b31712380 |
children | dbefc648ad71 |
files | CHANGES |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES Tue Nov 06 13:19:06 2018 +0100 +++ b/CHANGES Mon Nov 19 11:24:11 2018 +0100 @@ -1,8 +1,9 @@ 3.x 20xx-xx-xx UNRELEASED - * The human_time function calculates up to 59 minutes, not 60. - A mistake in porting from Python2 to Python3 made minutes and hours to float. - They are now integers again. + * Fix human_time() to output one hour instead of 60 minutes. This defect was + introduced when porting from Python2 to Python3, because the calculation + had implicitly changed from integers to floating point. + (Magnus Schieder) * The time of the currently running entry is cached every minute and after a program crash the entry has the description "-no description-".