Make expiry parsing backward compatible to 3.9
authorJeremy Stanley <fungi@yuggoth.org>
Sat, 11 May 2024 02:41:03 +0000 (02:41 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sat, 11 May 2024 02:43:57 +0000 (02:43 +0000)
commit29f424ec50d4b0d0d2885cd9f6c6b304245e067f
tree704b7cd04a6c209187934b00adff95816bdd017c
parentcc7cb0a6135462bdf8145bcd2df27743a906eb3b
Make expiry parsing backward compatible to 3.9

The expiration timestamp parser inadvertently relied on patterns
which weren't supported by earlier versions of the datetime module.
Solve it with a slightly uglier one.
weather.py