[prev in list] [next in list] [prev in thread] [next in thread] 

List:       glibc-locales
Subject:    [Bug localedata/17426] date format not set for en_IN
From:       sourceware-bugzilla () sourceware ! org (arjun ! is at lostca dot se)
Date:       2014-09-24 14:00:00
Message-ID: bug-17426-716-RPTZfBFpF4 () http ! sourceware ! org/bugzilla/
[Download RAW message or body]

https://sourceware.org/bugzilla/show_bug.cgi?id=17426

--- Comment #5 from Arjun Shankar <arjun.is at lostca dot se> ---
So according to CLDR,

The full date format [1] for en_IN is: EEEE d MMMM y
The medium date format [2] is: dd-MMM-y
The short date format [3] is: dd/MM/yy

The explanation of the format strings [4] leads me to:

Standard: Wednesday 3 September 2014
Medium: 03-Sep-2014
Short: 03/09/2014

Now one could argue that the format currently shown for en_IN by `date +%x' is
correct as per the "full" date format. However, if I set my LC_TIME to
"en_GB.utf8", the date displayed for the same test case is *not* the long form
for en_GB according to CLDR. Also, from my personal experience, dates are
usually written 'DD/MM/(YY)YY' or 'DD-MM-(YY)YY' in India.

I must add that the format string guideline [4] is not clear upon the
difference between 'y' and 'yy', but it appears to me from the examples that
'y' represents the full year '2014' and 'yy' represents the year with the
century truncated '14'.

Hope this helps clear things up.

[1]
http://www.unicode.org/cldr/charts/latest/by_type/date_&_time.gregorian.html#562f98c4c6b2e321

[2]
http://www.unicode.org/cldr/charts/latest/by_type/date_&_time.gregorian.html#14164b88b71705de

[3]
http://www.unicode.org/cldr/charts/latest/by_type/date_&_time.gregorian.html#57dac0d1b36c1261

[4] http://cldr.unicode.org/translation/date-time

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic