mirror of
https://github.com/araddon/dateparse.git
synced 2025-09-18 04:48:17 +08:00
Add extensive format validation, bugfixes
* Don't just assume we were given one of the valid formats. * Also consolidate the parsing states that occur after timePeriod. * Add subtests to make it easier to see what fails. * Additional tests for 4-char timezone names. * Fix https://github.com/araddon/dateparse/issues/117 * Fix https://github.com/araddon/dateparse/issues/150 * Fix https://github.com/araddon/dateparse/issues/157 * Fix https://github.com/araddon/dateparse/issues/145 * Fix https://github.com/araddon/dateparse/issues/108 * Fix https://github.com/araddon/dateparse/issues/137 * Fix https://github.com/araddon/dateparse/issues/130 * Fix https://github.com/araddon/dateparse/issues/123 * Fix https://github.com/araddon/dateparse/issues/109 * Fix https://github.com/araddon/dateparse/issues/98 * Addresses bug in https://github.com/araddon/dateparse/issues/100#issuecomment-1118868154 Adds test cases to verify the following are already fixed: * https://github.com/araddon/dateparse/issues/94
This commit is contained in:
873
parseany.go
873
parseany.go
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user