Revision 7107
Added by Aaron Marcuse-Kubitza almost 12 years ago
schemas/py_functions.sql | ||
---|---|---|
197 | 197 |
part_sep=' ' |
198 | 198 |
|
199 | 199 |
default = (str_, str_) |
200 |
if str_.find(':') >= 0: return default |
|
200 | 201 |
# range_sep might be used as date part separator instead |
201 | 202 |
if str_.find(part_sep) < 0: return default |
202 | 203 |
|
Also available in: Unified diff
schemas/py_functions.sql: parse_date_range(): Don't parse strings containing a time, because - and ' ' don't have the same meaning as in a date range