mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
This change creates a more complete regex for parsing dates used in filters. MySQL in particular errored when the UTC zone character 'Z' was appended to a valid iso 8601 date (because it's MySQL). The FilterParser.parse_date method now: - strips both the separator 'T' and any ending 'Z' - one space are allowed as the date/time separator - milliseconds are permitted - both time and time with milliseconds are optional - any added timezone (besides the UTC Z) will cause an error - feedback was made more clear - tests were added (and should make the above more clear)