Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Short date format in longDateFormat for Latvian language is [kinda] wrong. #655

Closed
salixzs opened this issue Feb 25, 2013 · 5 comments
Closed

Comments

@salixzs
Copy link

salixzs commented Feb 25, 2013

lv.js contains this currently.
longDateFormat : {
LT : "HH:mm",
L : "YYYY.MM.DD.",
LL : "YYYY. [gada] D. MMMM",
LLL : "YYYY. [gada] D. MMMM, LT",
LLLL : "YYYY. [gada] D. MMMM, dddd, LT"
},
All is fine except "L".
In Latvia most common format for "short" date is 'DD.MM.YYYY' (no dot in the end)
See http://en.wikipedia.org/wiki/Date_format_by_country
or http://www.localeplanet.com/icu/lv-LV/index.html

@ichernev
Copy link
Contributor

Closing this in favor of #656.

@AndroidDeveloperLB
Copy link

I have a question about Latvian:
Suppose I want to have a short date format, that includes only day and month, can it be this way:
"d. MMM"
?
I also have the same question for some other locales (pt, kea, seh) . I have no idea where to look for those.

@salixzs
Copy link
Author

salixzs commented Nov 1, 2015

In this case I suspect it will end in something like this (for Latvian)
3. mar
29. okt
which is not commonly used in Latvia, however not entirely wrong.
better is then to add dot in the end of month. (d. MMM.)
3. mar.
29. okt.
or to have full month name (d. MMMM)
3. marts
29. oktobris

I cannot help you with other mentioned languages

@AndroidDeveloperLB
Copy link

@salixzs Thank you. So adding a dot at the end is better? I had this as the full date format on Android, and was wondering how it should have been:
y. 'gada' d. MMM

What's 'gada' , BTW ?

@salixzs
Copy link
Author

salixzs commented Nov 1, 2015

In latvian if you shorten something it is common to add a dot upon shortened word, like
short for oktobris = okt.
Full format should be with full month name
yyyy. 'gada' d. MMMM
so if will end up like this for today:
2015. gada 1. novembris
'gada' means 'year' (in specific conjugation) and it is common to include it in full format for date in Latvia.
https://translate.google.com/#lv/en/gads

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants