sdispater / pendulum

Python datetimes made easy
https://pendulum.eustace.io
MIT License
6.12k stars 372 forks source link

Localized Format LT inconsistent with leading zeroes #821

Open georgpfolz opened 2 months ago

georgpfolz commented 2 months ago

The localized format 'LT' is very handy, but with a caveat: It handles leading zeroes differently, depending on the locale, for example (I didn't test other languages):

I don't think these differences are on purpose, so it would be good to have all languages following the same logic.

I very much like the idea of localized formats, but unfortunately they are unusable to me due to those inconsistencies.