scrapinghub / dateparser

python parser for human readable dates
BSD 3-Clause "New" or "Revised" License
2.55k stars 465 forks source link

Support timezone in Czech locale ("SELČ") #975

Closed tadeoos closed 3 years ago

tadeoos commented 3 years ago

This string is failing to parse: "16. srpna 2021 9:59:44 SELČ".

According to Google SELČ is Central European Summer Time

I received this datetime format in email sent from Apple Mail app with Czech language locale.

noviluni commented 3 years ago

It should be quite simple to add it in dateparser/dateparser/timezones.py (and adding a test) in case you want to do it :)

https://github.com/scrapinghub/dateparser/blob/master/dateparser/timezones.py#L70

tadeoos commented 3 years ago

@noviluni thanks for pointing me in the right direction. PR opened :)