From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27087 invoked by alias); 24 Sep 2014 13:59:43 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 27038 invoked by uid 48); 24 Sep 2014 13:59:39 -0000 From: "arjun.is at lostca dot se" To: glibc-bugs@sourceware.org Subject: [Bug localedata/17426] date format not set for en_IN Date: Wed, 24 Sep 2014 13:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.20 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arjun.is at lostca dot se X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-09/txt/msg00253.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17426 --- Comment #5 from Arjun Shankar --- 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.