public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug localedata/17426] New: date format not set for en_IN
@ 2014-09-23 14:48 arjun.is at lostca dot se
  2014-09-23 16:26 ` [Bug localedata/17426] " pranav913 at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: arjun.is at lostca dot se @ 2014-09-23 14:48 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 17426
           Summary: date format not set for en_IN
           Product: glibc
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: arjun.is at lostca dot se
                CC: libc-locales at sourceware dot org

executing:
$ LC_TIME=en_IN.UTF-8 date +%x

prints:
Tuesday 23 September 2014

This isn't the format used in India.

I have typically seen DD-MM-YY(YY) or DD/MM/YY(YY) in use in most places
including official tax forms, etc.

Here is the link to a copy of the Constitution of India:
http://india.gov.in/my-government/constitution-india/constitution-india-full-text

It appears to consistently use "DD-MM-YYYY" (when I looked at the main "Parts I
to XXII" document).

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug localedata/17426] date format not set for en_IN
  2014-09-23 14:48 [Bug localedata/17426] New: date format not set for en_IN arjun.is at lostca dot se
@ 2014-09-23 16:26 ` pranav913 at gmail dot com
  2014-09-23 18:23 ` arjun.is at lostca dot se
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pranav913 at gmail dot com @ 2014-09-23 16:26 UTC (permalink / raw)
  To: glibc-bugs

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

Pranav Kant <pranav913 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pranav913 at gmail dot com

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug localedata/17426] date format not set for en_IN
  2014-09-23 14:48 [Bug localedata/17426] New: date format not set for en_IN arjun.is at lostca dot se
  2014-09-23 16:26 ` [Bug localedata/17426] " pranav913 at gmail dot com
@ 2014-09-23 18:23 ` arjun.is at lostca dot se
  2014-09-24 10:25 ` arjun.is at lostca dot se
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: arjun.is at lostca dot se @ 2014-09-23 18:23 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Arjun Shankar <arjun.is at lostca dot se> ---
Additional references:

The online Visa application form [1] uses MM/DD/YYYY. The Wikipedia article [2]
mentions prevalence of MM/DD/YY in informal usage and MM-DD-YYYY in most
government documents and application forms. It offers a few citations.


[1] http://indianvisaonline.gov.in/visa/indianVisaReg.jsp
[2] http://en.wikipedia.org/wiki/Date_and_time_notation_in_India

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug localedata/17426] date format not set for en_IN
  2014-09-23 14:48 [Bug localedata/17426] New: date format not set for en_IN arjun.is at lostca dot se
  2014-09-23 16:26 ` [Bug localedata/17426] " pranav913 at gmail dot com
  2014-09-23 18:23 ` arjun.is at lostca dot se
@ 2014-09-24 10:25 ` arjun.is at lostca dot se
  2014-09-24 11:24 ` arjun.is at lostca dot se
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: arjun.is at lostca dot se @ 2014-09-24 10:25 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #2 from Arjun Shankar <arjun.is at lostca dot se> ---
(In reply to Arjun Shankar from comment #1)
> The online Visa application form [1] uses MM/DD/YYYY. The Wikipedia article
> [2] mentions prevalence of MM/DD/YY in informal usage and MM-DD-YYYY in most

Correction! This sentence was supposed to read:
> The online Visa application form [1] uses DD/MM/YYYY. The Wikipedia article
> [2] mentions prevalence of DD/MM/YY in informal usage and DD-MM-YYYY in most

I somehow switched MM and DD in my tired little mind.

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug localedata/17426] date format not set for en_IN
  2014-09-23 14:48 [Bug localedata/17426] New: date format not set for en_IN arjun.is at lostca dot se
                   ` (2 preceding siblings ...)
  2014-09-24 10:25 ` arjun.is at lostca dot se
@ 2014-09-24 11:24 ` arjun.is at lostca dot se
  2014-09-24 12:16 ` pravin.d.s at gmail dot com
  2014-09-24 13:59 ` arjun.is at lostca dot se
  5 siblings, 0 replies; 7+ messages in thread
From: arjun.is at lostca dot se @ 2014-09-24 11:24 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #3 from Arjun Shankar <arjun.is at lostca dot se> ---
The Gazette of India [1] (an official weekly containing notifications from
governmental agencies) uses DD/MM/YYYY and DD.MM.YYYY in most of its weekly
issues. It is, however, inconsistent.

[1] http://www.egazette.nic.in

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug localedata/17426] date format not set for en_IN
  2014-09-23 14:48 [Bug localedata/17426] New: date format not set for en_IN arjun.is at lostca dot se
                   ` (3 preceding siblings ...)
  2014-09-24 11:24 ` arjun.is at lostca dot se
@ 2014-09-24 12:16 ` pravin.d.s at gmail dot com
  2014-09-24 13:59 ` arjun.is at lostca dot se
  5 siblings, 0 replies; 7+ messages in thread
From: pravin.d.s at gmail dot com @ 2014-09-24 12:16 UTC (permalink / raw)
  To: glibc-bugs

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

Pravin S <pravin.d.s at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |pravin.d.s at gmail dot com

--- Comment #4 from Pravin S <pravin.d.s at gmail dot com> ---
Can you give reference from Unicode CLDR? Indian government is already member
of Unicode, we should use that as a reference.

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug localedata/17426] date format not set for en_IN
  2014-09-23 14:48 [Bug localedata/17426] New: date format not set for en_IN arjun.is at lostca dot se
                   ` (4 preceding siblings ...)
  2014-09-24 12:16 ` pravin.d.s at gmail dot com
@ 2014-09-24 13:59 ` arjun.is at lostca dot se
  5 siblings, 0 replies; 7+ messages in thread
From: arjun.is at lostca dot se @ 2014-09-24 13:59 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-09-24 13:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-23 14:48 [Bug localedata/17426] New: date format not set for en_IN arjun.is at lostca dot se
2014-09-23 16:26 ` [Bug localedata/17426] " pranav913 at gmail dot com
2014-09-23 18:23 ` arjun.is at lostca dot se
2014-09-24 10:25 ` arjun.is at lostca dot se
2014-09-24 11:24 ` arjun.is at lostca dot se
2014-09-24 12:16 ` pravin.d.s at gmail dot com
2014-09-24 13:59 ` arjun.is at lostca dot se

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).