commit | 02937aab13ecfe1f67b8de48c37412b0328217ec | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Sat Mar 28 05:02:39 2015 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Sat Mar 28 05:02:39 2015 +0100 |
tree | e6ae07581ca459a4b561f479d1610b2c5341fff2 | |
parent | b3b454407058cd57d8a401a5aeb018d4ccb87616 [diff] |
Issue #22117: Add the new _PyTime_ROUND_FLOOR rounding method for the datetime module. time.clock_settime() now uses this rounding method instead of _PyTime_ROUND_DOWN to handle correctly dates before 1970.