Show More
@@ -1215,7 +1215,10 b' def matchdate(date):' | |||
|
1215 | 1215 | return parsedate(date, extendeddateformats, d)[0] |
|
1216 | 1216 | |
|
1217 | 1217 | date = date.strip() |
|
1218 | if date[0] == "<": | |
|
1218 | ||
|
1219 | if not date: | |
|
1220 | raise Abort(_("dates cannot consist entirely of whitespace")) | |
|
1221 | elif date[0] == "<": | |
|
1219 | 1222 | when = upper(date[1:]) |
|
1220 | 1223 | return lambda x: x <= when |
|
1221 | 1224 | elif date[0] == ">": |
General Comments 0
You need to be logged in to leave comments.
Login now