| |
@@ -37,7 +37,7 @@
|
| |
for date_key in date_fields:
|
| |
if task.get(date_key) is None:
|
| |
continue
|
| |
- if isinstance(task[date_key], (float, int)):
|
| |
+ if isinstance(task[date_key], (float, int, long)):
|
| |
continue
|
| |
task[date_key] = time.mktime(task[date_key].timetuple())
|
| |
|
| |
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr