Permalink
Browse files

On second thought, default values for date/times should be None.

  • Loading branch information...
1 parent 14b1e61 commit 3a6a7cbd68bf746227a856d72f1d045ad695d080 @mythmon committed Feb 6, 2012
Showing with 0 additions and 7 deletions.
  1. +0 −7 wok/util.py
View
@@ -61,10 +61,3 @@ def date_and_times(meta):
meta['datetime'] = datetime(date_part.year, date_part.month, date_part.day)
else:
meta['datetime'] = None
-
- if meta['date'] is None:
- meta['date'] = date(1970, 1, 1)
- if meta['time'] is None:
- meta['time'] = time()
- if meta['datetime'] is None:
- meta['datetime'] = datetime(1970, 1, 1)

0 comments on commit 3a6a7cb

Please sign in to comment.