GNU bug report logs - #22183
date returns incorrect string for Wednesday in Marathi locale

Previous Next

Package: coreutils;

Reported by: "Richard J. Cotton" <rjc2003 <at> qatar-med.cornell.edu>

Date: Wed, 16 Dec 2015 07:16:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22183 in the body.
You can then email your comments to 22183 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#22183; Package coreutils. (Wed, 16 Dec 2015 07:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Richard J. Cotton" <rjc2003 <at> qatar-med.cornell.edu>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Wed, 16 Dec 2015 07:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Richard J. Cotton" <rjc2003 <at> qatar-med.cornell.edu>
To: "bug-coreutils <at> gnu.org" <bug-coreutils <at> gnu.org>
Subject: date returns incorrect string for Wednesday in Marathi locale
Date: Wed, 16 Dec 2015 06:42:58 +0000
To reproduce:

LANG="mr_IN.utf8" date -d 'Wednesday' +%A

I see the value
मंगळवार

This is the Marathi equivalent of Tuesday.  LANG="mr_IN.utf8" date -d 'Wednesday' +%A returns the same string.  Other Marathi weekdays are correct.

Regards,
Richie

WCM-Q


Information forwarded to bug-coreutils <at> gnu.org:
bug#22183; Package coreutils. (Wed, 16 Dec 2015 09:59:01 GMT) Full text and rfc822 format available.

Message #8 received at 22183 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: "Richard J. Cotton" <rjc2003 <at> qatar-med.cornell.edu>, 22183 <at> debbugs.gnu.org
Subject: Re: bug#22183: date returns incorrect string for Wednesday in Marathi
 locale
Date: Wed, 16 Dec 2015 09:57:59 +0000
tag 22183 notabug
close 22183
stop

On 16/12/15 06:42, Richard J. Cotton wrote:
> To reproduce:
> 
> LANG="mr_IN.utf8" date -d 'Wednesday' +%A
> 
> I see the value
> मंगळवार
> 
> This is the Marathi equivalent of Tuesday.  LANG="mr_IN.utf8" date -d 'Wednesday' +%A returns the same string.  Other Marathi weekdays are correct.

I see Tue/Wed different here (Fedora 23).
In any case this is not a coreutils issue
as those strings come from the locale database:

$ locale day
Sunday;Monday;Tuesday;Wednesday;Thursday;Friday;Saturday
$ LANG="mr_IN.utf8" locale day
रविवार;सोमवार;मंगळवार;बुधवार;गुरुवार;शुक्रवार;शनिवार

thanks,
Pádraig




Information forwarded to bug-coreutils <at> gnu.org:
bug#22183; Package coreutils. (Tue, 13 Mar 2018 21:40:01 GMT) Full text and rfc822 format available.

Message #11 received at 22183 <at> debbugs.gnu.org (full text, mbox):

From: Rafal Luzynski <digitalfreak <at> lingonborough.com>
To: 22183 <at> debbugs.gnu.org
Subject: Re: bug#22183: date returns incorrect string for Wednesday in Marathi
Date: Tue, 13 Mar 2018 22:34:15 +0100 (CET)
Indeed, it was a bug in glibc locale data [1] and has been fixed [2]
in version 2.17. If you mention Fedora the fix has been included
in Fedora 19. Please close this bug report, it was not a coreutils
issue and it has been fixed 5.5 years ago.

Regards,

Rafal

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=14694
[2] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=3b81309




Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Tue, 13 Mar 2018 21:50:02 GMT) Full text and rfc822 format available.

Notification sent to "Richard J. Cotton" <rjc2003 <at> qatar-med.cornell.edu>:
bug acknowledged by developer. (Tue, 13 Mar 2018 21:50:02 GMT) Full text and rfc822 format available.

Message #16 received at 22183-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Rafal Luzynski <digitalfreak <at> lingonborough.com>, 22183-done <at> debbugs.gnu.org
Subject: Re: bug#22183: date returns incorrect string for Wednesday in Marathi
Date: Tue, 13 Mar 2018 14:49:05 -0700
On 03/13/2018 02:34 PM, Rafal Luzynski wrote:
> Please close this bug report

Thanks for checking; closing.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 11 Apr 2018 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 72 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.