public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
From: "arjun.is at lostca dot se" <sourceware-bugzilla@sourceware.org>
To: libc-locales@sourceware.org
Subject: [Bug localedata/17426] date format not set for en_IN
Date: Wed, 24 Sep 2014 14:00:00 -0000	[thread overview]
Message-ID: <bug-17426-716-RPTZfBFpF4@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-17426-716@http.sourceware.org/bugzilla/>

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.

  parent reply	other threads:[~2014-09-24 14:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-23 14:49 [Bug localedata/17426] New: " arjun.is at lostca dot se
2014-09-23 21:15 ` [Bug localedata/17426] " pranav913 at gmail dot com
2014-09-23 21:16 ` arjun.is at lostca dot se
2014-09-24 10:58 ` arjun.is at lostca dot se
2014-09-24 12:39 ` pravin.d.s at gmail dot com
2014-09-24 12:39 ` arjun.is at lostca dot se
2014-09-24 14:00 ` arjun.is at lostca dot se [this message]
2016-02-06  0:38 ` fweimer at redhat dot com
2016-02-06  0:51 ` [Bug localedata/17426] en_IN: set date format vapier at gentoo dot org
2018-08-10 12:57 ` digitalfreak at lingonborough dot com
2018-08-27 10:20 ` digitalfreak at lingonborough dot com
2018-08-27 22:26 ` cvs-commit at gcc dot gnu.org
2018-08-30 10:55 ` [Bug localedata/17426] Indian locales: set the correct " digitalfreak at lingonborough dot com
2018-09-04 21:56 ` digitalfreak at lingonborough dot com
2018-09-05 21:59 ` cvs-commit at gcc dot gnu.org
2018-09-05 22:06 ` digitalfreak at lingonborough dot com
2019-01-31 17:19 ` cvs-commit at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-17426-716-RPTZfBFpF4@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=libc-locales@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).