commit | adfefa527a32e711c1bea9c1ac32c20e9cce0660 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Fri Sep 04 23:57:25 2015 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Fri Sep 04 23:57:25 2015 +0200 |
tree | 8e03b6d95d1f6f32780d8535aa5b60d411d0646f | |
parent | 19bbb9af678040e8963edfcfdc30e9f87b106fb9 [diff] |
Issue #23517: Fix implementation of the ROUND_HALF_UP rounding mode in datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp(). microseconds sign should be kept before rounding.