This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug localedata/18205] New: Wrong first_weekday and first_workday for be_BY*
- From: "andrei.dziahel at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 06 Apr 2015 21:12:55 +0000
- Subject: [Bug localedata/18205] New: Wrong first_weekday and first_workday for be_BY*
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18205
Bug ID: 18205
Summary: Wrong first_weekday and first_workday for be_BY*
Product: glibc
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: localedata
Assignee: unassigned at sourceware dot org
Reporter: andrei.dziahel at gmail dot com
CC: libc-locales at sourceware dot org
Created attachment 8227
--> https://sourceware.org/bugzilla/attachment.cgi?id=8227&action=edit
Proposed patch to fix first_weekday & first_workday for be_BY locales
Reproducing:
1. Get a test program from
https://bug747346.bugzilla-attachments.gnome.org/attachment.cgi?id=300994,
compile it
2. Run it with LC_TIME=be_BY.utf8 ./a.out
Expected output:
> first_weekday: 2
> week_1stday: 0
> Week start: 1
It's same output as one for ru_RU, uk_UA and other territories where week
begins with Monday.
What happens instead: the output is
> first_weekday: 1
> week_1stday: 0
> Week start: 0
same as for en_US and other territories where week begins with Sunday
I've attached a (trivial?) patch which should fix this.
--
You are receiving this mail because:
You are on the CC list for the bug.