public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "andrei.dziahel at gmail dot com" <sourceware-bugzilla@sourceware.org>
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	[thread overview]
Message-ID: <bug-18205-131@http.sourceware.org/bugzilla/> (raw)

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.


             reply	other threads:[~2015-04-06 21:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-06 21:13 andrei.dziahel at gmail dot com [this message]
2015-04-07 10:25 ` [Bug localedata/18205] " ihar.hrachyshka at gmail dot com
2015-08-05 14:14 ` andrei.dziahel at gmail dot com
2015-10-29 12:59 ` andrei.dziahel at gmail dot com
2015-10-29 13:33 ` carlos at redhat dot com
2015-10-29 21:22 ` [Bug localedata/18205] be_BY*: wrong first_weekday and first_workday vapier at gentoo dot org
2015-10-30  0:23 ` vapier at gentoo dot 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-18205-131@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@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).