[Getan-commits] [PATCH] Update TODO and CHANGES

Wald Commits scm-commit at wald.intevation.org
Tue Nov 6 13:19:12 CET 2018


# HG changeset patch
# User Magnus Schieder <mschieder at intevation.de>
# Date 1541506746 -3600
# Node ID 9d8b317123806db74dc4f27d4b425b894de6b2df
# Parent  31ea48bf8a7c0b2014940790ab2231bd6a6befee
Update TODO and CHANGES.

diff -r 31ea48bf8a7c -r 9d8b31712380 CHANGES
--- a/CHANGES	Tue Nov 06 13:01:08 2018 +0100
+++ b/CHANGES	Tue Nov 06 13:19:06 2018 +0100
@@ -1,5 +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.
+
  * The time of the currently running entry is cached every minute and after a
    program crash the entry has the description "-no description-".
    information can be found in /doc/old_issues.txt 20180806 Magnus Schieder
diff -r 31ea48bf8a7c -r 9d8b31712380 TODO
--- a/TODO	Tue Nov 06 13:01:08 2018 +0100
+++ b/TODO	Tue Nov 06 13:19:06 2018 +0100
@@ -1,8 +1,3 @@
-20181101 Magnus Schieder
-  getan-report wrote "# total: xx:60h" with the template "wochenbericht".
-  I couldn't reproduce the problem and couldn't find a mistake in the source
-  code. /getan/template.py human_time
-
 20181101 Magnus Schieder
   delete empty projects in getan
   BER: understand the use case better first
diff -r 31ea48bf8a7c -r 9d8b31712380 doc/old_issues.txt
--- a/doc/old_issues.txt	Tue Nov 06 13:01:08 2018 +0100
+++ b/doc/old_issues.txt	Tue Nov 06 13:19:06 2018 +0100
@@ -1,3 +1,7 @@
+20181101 Magnus Schieder
+  getan-report wrote "# total: xx:60h" with the template "wochenbericht".
+  /getan/template.py human_time
+
 20180806 Magnus Schieder
   Save running entry if console is closed unexpectedly.
   (e.g. when shutting down the computer)


More information about the Getan-commits mailing list