pyfisch / httpdate

HTTP date parsing and formatting
Apache License 2.0
48 stars 14 forks source link

Fixes typo "Mai" -> "May" #3

Closed tailhook closed 6 years ago

tailhook commented 6 years ago

Title should be self-descriptive. Please also publish a new version as soon as possible!

tailhook commented 6 years ago

Also, maybe some fuzzy tests are useful. In humantime, we go quite deep to make sure that nothing breaks by comparing timestamps with what time/chrono produces. In particular, we check every day of two consecutive years (to capture leap year and non-leap year), every second of a particular day, and 10000 random days in whole range of supported days match.

Formatting is quite fast so hundred thousands of formatting operations aren't a problem for tests.

pyfisch commented 6 years ago

Thanks. I am sorry for this mistake. I have published it as v0.3.2

tailhook commented 6 years ago

Great! Thank you for quick response!