Mercurial > p > roundup > code
diff CHANGES.txt @ 4856:392a055fdc21
issue2117897: Fixed two more rounding to 60.0 seconds in date.py
This caused exceptions in real-world data as reported in the issue by
Kenny Johansson, Malte Helmert and me. Change them to 59.999 as was done
in the fix for issue2550802.
| author | Thomas Arendsen Hein <thomas@intevation.de> |
|---|---|
| date | Tue, 11 Feb 2014 09:38:31 +0100 |
| parents | df4c1f58c3b8 |
| children | 5e24a2d7078f |
line wrap: on
line diff
--- a/CHANGES.txt Thu Jan 30 14:54:34 2014 +0530 +++ b/CHANGES.txt Tue Feb 11 09:38:31 2014 +0100 @@ -3,7 +3,7 @@ Each entry has the developer who committed the change in brackets. Entries without name were done by Richard Jones. -2013-??-??: 1.5.1 +2014-??-??: 1.5.1 Features: @@ -55,6 +55,9 @@ necessary changes to your templates, the escaping now happens in the template and not in the roundup code. So if you don't make the necessary changes *you are vulnerable*. (Ralf Schlatterbeck) +- issue2117897: Fixed two more places in date.py where seconds can be + rounded to 60.0 and causing exceptions. Change them to 59.999 as was + done in the fix for issue2550802. (Thomas Arendsen Hein) 2013-07-06: 1.5.0
