arrow-py / arrow

🏹 Better dates & times for Python
https://arrow.readthedocs.io
Apache License 2.0
8.7k stars 673 forks source link

Azerbaijani Second Time Frame Issue #985

Closed anishnya closed 2 years ago

anishnya commented 3 years ago

Similar to the issue pointed out in #982, it appears in the Azerbaijani locale, the second time frame translates to "second" (saniyə) instead of "a second." I would assume looking at the rest of the time frame object within the locale, it should be "bir saniyə", but I would like to confirm with the community that this is in fact the correct translation.

beucismis commented 3 years ago

So is this true @anishnya ?

>>> past = arrow.utcnow().shift(years=-1)
>>> past.humanize(locale="az")
'il əvvəl'
anishnya commented 3 years ago

@beucismis Yes that would work, but we are also looking for a more accurate translation of "a minute" in the AZ locale. I think the current translation is roughly equivalent to just "minute".

sania-dsouza commented 2 years ago

PR created for this: https://github.com/arrow-py/arrow/pull/1052