sisyphsu / dateparser

dateparser is a smart and high-performance date parser library, it supports hundreds of different formats, nearly all format that we may used. And this is also a showcase for "retree" algorithm.
MIT License
95 stars 23 forks source link

Fixed issue #19: Exception when non-zero minutes negative time zone.... #20

Closed andriy-samson closed 2 years ago

andriy-samson commented 2 years ago

The commit has fix for: Negative time zone with non-zero minutes raise an error: "Zone offset minutes and seconds must be negative because hours is negative"

(DateBuilder.java)

(DateParserTest.java)

sisyphsu commented 2 years ago

Thanks~