equal
deleted
inserted
replaced
35 class URLDateType (URLType) : |
35 class URLDateType (URLType) : |
36 """ |
36 """ |
37 Handle dates in URLs as naive datetime objects (with indeterminate time info) |
37 Handle dates in URLs as naive datetime objects (with indeterminate time info) |
38 """ |
38 """ |
39 |
39 |
40 def __init__ (self, date_fmt="%Y-%m-%d") : |
40 def __init__ (self, date_fmt) : |
41 """ |
41 """ |
42 Format/parse dates using the given format |
42 Format/parse dates using the given format |
43 """ |
43 """ |
44 |
44 |
45 self.date_fmt = date_fmt |
45 self.date_fmt = date_fmt |