From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103855 invoked by alias); 6 Apr 2015 21:13:01 -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 103796 invoked by uid 48); 6 Apr 2015 21:12:57 -0000 From: "andrei.dziahel at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/18205] New: Wrong first_weekday and first_workday for be_BY* Date: Mon, 06 Apr 2015 21:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.21 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andrei.dziahel at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: 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: 2015-04/txt/msg00020.txt.bz2 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.