[Getan-commits] [PATCH] CHANGES: Improve phrasing for human_time() fix

Wald Commits scm-commit at wald.intevation.org
Mon Nov 19 11:24:13 CET 2018


# HG changeset patch
# User Bernhard Reiter <bernhard at intevation.de>
# Date 1542623051 -3600
# Node ID 7cf04ec84eb9c94858050e5689254a262ab94754
# Parent  9d8b317123806db74dc4f27d4b425b894de6b2df
CHANGES: Improve phrasing for human_time() fix.

diff -r 9d8b31712380 -r 7cf04ec84eb9 CHANGES
--- 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-".


More information about the Getan-commits mailing list