Message262337
When parsing a time only string like:
```
datetime.datetime.strptime('13:48:25', '%H:%M:%S')
```
This produces:
```
datetime.datetime(1900, 1, 1, 13, 48, 25)
```
Not that the year is `1900` which just doesn't make sense. This will produce `-1` when you attempt to get it's UNIX timestamp. And while that sounds weird it is very useful.
The default year should be 1970. And this will resolve the issue. |
|
Date |
User |
Action |
Args |
2016-03-24 12:45:38 | Itay Grudev | set | recipients:
+ Itay Grudev |
2016-03-24 12:45:38 | Itay Grudev | set | messageid: <1458823538.48.0.621744004031.issue26635@psf.upfronthosting.co.za> |
2016-03-24 12:45:38 | Itay Grudev | link | issue26635 messages |
2016-03-24 12:45:38 | Itay Grudev | create | |
|