Victor Stinner
5d272cc6a2
Close #14180 : Factorize code to convert a number of seconds to time_t, timeval or timespec
...
time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(),
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
raises an OverflowError, instead of a ValueError, if the timestamp does not fit
in time_t.
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
round microseconds towards zero instead of rounding to nearest with ties going
away from zero.
2012-03-13 13:35:55 +01:00
..
2012-01-26 00:15:07 -08:00
2012-03-05 19:28:37 +01:00
2012-02-25 12:24:21 +01:00
2011-11-29 00:06:10 +01:00
2011-09-19 17:08:18 +02:00
2012-03-07 20:50:06 +01:00
2011-11-11 19:39:25 +01:00
2011-11-10 22:49:20 +01:00
2012-02-21 09:25:00 +02:00
2012-01-04 18:57:22 +01:00
2012-03-04 16:23:53 +01:00
2012-03-02 12:32:14 -05:00
2012-02-21 00:33:36 +01:00
2012-02-27 19:56:37 +01:00
2012-03-13 12:15:09 +00:00
2011-10-19 10:58:56 +03:00
2012-03-05 19:28:37 +01:00
2012-03-07 20:56:18 +01:00
2012-03-04 16:12:09 +01:00
2012-02-21 13:59:40 +02:00
2012-03-13 13:35:55 +01:00
2012-03-12 17:47:35 -07:00
2012-03-13 00:14:19 -07:00
2012-01-21 11:55:40 +08:00
2012-03-05 12:37:02 +01:00
2012-03-05 16:24:07 +01:00
2011-12-19 07:29:03 +02:00
2012-01-14 11:51:00 +01:00
2012-03-04 22:15:38 -06:00
2011-12-15 15:34:02 -05:00
2012-03-12 23:57:18 +02:00
2011-10-28 14:52:29 +02:00
2011-11-05 14:16:01 +01:00
2012-02-20 19:30:23 +01:00
2012-02-12 01:51:38 +02:00
2011-12-10 11:07:42 +01:00
2011-12-06 20:46:57 +01:00
2011-09-28 17:37:55 +03:00
2011-09-01 20:00:33 +02:00
2011-10-19 11:06:26 +03:00
2011-10-28 14:45:05 +02:00
2012-03-13 13:35:55 +01:00
2011-10-24 10:31:52 +01:00
2011-12-10 13:02:17 +01:00
2011-12-18 20:22:50 +01:00
2011-11-07 19:43:07 +01:00
2011-11-08 18:39:15 +01:00
2011-12-10 21:25:04 +01:00
2011-12-11 22:37:31 -06:00
2011-11-04 08:29:17 +01:00
2012-02-12 00:06:02 +02:00
2011-10-30 14:32:54 -07:00
2011-10-28 14:45:05 +02:00
2011-11-11 19:39:25 +01:00
2011-12-22 01:15:53 +00:00
2011-11-29 16:45:34 +01:00
2011-11-29 16:36:17 +01:00
2012-02-12 01:51:38 +02:00
2011-11-05 09:46:10 +02:00
2012-01-01 18:34:29 +01:00
2012-02-14 23:30:35 +01:00
2011-12-15 15:34:02 -05:00
2012-01-13 21:43:40 +10:00
2011-10-28 14:52:29 +02:00
2012-02-21 00:33:36 +01:00
2012-03-10 22:36:48 +01:00
2012-03-12 19:46:12 +01:00
2011-12-13 13:22:42 -05:00
2011-09-02 00:03:20 +02:00
2012-01-13 18:52:16 +01:00
2012-02-01 15:15:14 -06:00
2011-11-04 08:29:17 +01:00
2012-02-16 00:29:12 -08:00
2012-01-13 18:52:16 +01:00
2011-12-21 09:59:49 +01:00
2012-01-09 20:02:24 +00:00
2011-11-11 09:41:17 -06:00
2012-03-10 09:27:30 +01:00
2011-10-11 18:51:53 +02:00
2011-10-28 14:45:05 +02:00
2011-12-19 19:12:01 +01:00
2012-02-08 23:28:36 +01:00
2012-02-21 22:10:16 +01:00
2011-12-10 11:07:42 +01:00
2011-10-18 13:26:49 +03:00
2011-10-23 23:49:42 +02:00
2011-11-04 10:22:57 +01:00
2011-10-04 19:06:00 +03:00
2012-02-17 18:47:54 +01:00
2011-09-28 17:37:55 +03:00
2012-03-11 19:33:29 +01:00
2011-11-29 16:45:34 +01:00
2011-10-05 01:14:02 +02:00
2012-01-18 05:05:41 +01:00
2012-01-18 14:01:17 +01:00
2011-11-25 21:29:27 +01:00
2012-03-03 01:32:57 +01:00
2011-10-28 14:52:29 +02:00
2012-01-15 19:15:36 -06:00
2012-03-04 13:07:57 +00:00
2012-02-26 17:49:52 +10:00
2011-12-02 21:25:39 +02:00
2011-10-28 14:45:05 +02:00
2012-03-01 16:26:35 +01:00
2011-12-21 22:20:32 +08:00
2011-10-23 22:11:00 +02:00
2011-10-20 01:46:00 +08:00