This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 2823
  Update the mk_MK locale Last modified: 2006-09-20 17:28:21
     Query page      Enter new bug
Bug#: 2823   Hardware:   Reporter: Damjan Georgievski <penguinista@mail.net.mk>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: RESOLVED   Priority:  
Resolution: FIXED   Severity:  
Assigned To: GNU C LIbrary Locale Maintainers <libc-locales@sources.redhat.com>   Target Milestone:  
Flags: Requestee:
  backport ()
  examined ()
  testsuite ()
Summary:
Keywords:

Attachment Description Type Created Actions
mk_MK.diff Patch for the mk_MK locale data patch 2006-06-23 02:59 Edit | Diff
mk_MK.gz latest mk_MK locale application/octet-stream 2006-09-05 01:19 Edit None
mk_MK.diff Patch for the mk_MK locale data patch 2006-09-12 02:35 Edit | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 2823 depends on: Show dependency tree
Show dependency graph
Bug 2823 blocks:

Additional Comments:


Leave as RESOLVED FIXED
Reopen bug
Mark bug as VERIFIED

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2006-06-23 02:55
I'm attaching a diff of some minor changes to the mk_MK locale. The summary of
the changes follows:

- Update my email address since the old has not been used and is probably
unfunctional.
- Change contact address to bug-glibc-locales@gnu.org (a new alias for the
libc-locales mailing list). [BZ #337]
- Update date_fmt, I haven't noticed it was added to the locale, and it was
incorrect.
- Add first_weekday and first_workday in LC_TIME (Monday here).
- Add "week 7;19971201;4" in LC_TIME, I have no idea what that is for.

------- Additional Comment #1 From Damjan Georgievski 2006-06-23 02:59 -------
Created an attachment (id=1113)
Patch for the mk_MK locale data

------- Additional Comment #2 From Damjan Georgievski 2006-07-03 00:21 -------
Before the patch is applied, I have doubts about "first_weekday",
"first_workday" and it's corelation to "week" in LC_TIME. 
Monday should be the first day here, so what are the correct values? 
What's the most up-to-date locale that I can consult?

------- Additional Comment #3 From Damjan Georgievski 2006-07-03 01:22 -------
One more thing,
I see the glibc locales can now be encoded in UTF-8 and not in the ugly <U0xxx>
encoding. Should I convert the mk_MK locale to utf? UTF-8 would be easier for
debuging and future generations.

------- Additional Comment #4 From Ulrich Drepper 2006-08-12 20:58 -------
Read

http://std.dkuug.dk/jtc1/SC22/WG20/docs/n690.pdf

to learn about the week definition.

------- Additional Comment #5 From Damjan Georgievski 2006-08-13 02:56 -------
So, if I set weekday to 19971201 (a Monday) I should also change day and abday
to start from Monday - right? And in that case first_weekday and first_workday
should be 1 (also Moday)?

I also don't understand the meaning of the third operand in weekday but I guess
it ok like it is. 

(the text ISO/IEC PDTR 14652:1999(E))
-------------------------------------------------------------
weekday:
Shall be used to define the number of days in a week, and which
weekday is the first weekday (the first weekday has the value 1), and
which week is to be considered the first in a year. The first operand
is an integer specifying the number of days in the week. The second
operand is an integer specifying the Gregorian date in the format
YYYYMMDD. The third operand is an integer specifying the
weekday number to be contained in the first week of the year. If the
keyword is not specified the values are taken as 7, 19971130 (a
Sunday), and 7 (Saturday), respectively. ISO 8601 conforming
applications should use the values 7, 19971201 (a Monday), and 4
(Thursday), respectively. This keyword is optional.

------- Additional Comment #6 From Damjan Georgievski 2006-08-13 04:01 -------
(From update of attachment 1113)
I'll be preparing a new patch...

------- Additional Comment #7 From Damjan Georgievski 2006-08-17 03:04 -------
I was reading http://std.dkuug.dk/jtc1/SC22/WG20/docs/n690.pdf but I got
confused... The documentation about *abday* seems to suggest that the fist day
of the week is considered according the *week* keyword. So if *week* is setup to
start with a Monday, abday should also start with a Monday.

The practise shows different though (in glibc 2.4).

I guess I'm reading too much in the PDF.

------- Additional Comment #8 From Damjan Georgievski 2006-09-05 01:19 -------
Created an attachment (id=1280)
latest mk_MK locale

I've updated the locale with the correct changes, and I've converted it to
UTF-8.

Because of the conversion the diff is bigger than the whole file, so I'm
sending the whole locale (gzip-ed to protect it from accidental mangling).

------- Additional Comment #9 From Ulrich Drepper 2006-09-09 16:42 -------
Have you even looked at any other locale?  All strings must use the <U....>
format for each character.  No UTF-8 encoded strings.

And next time when you reply, change the status away from WAITING.

------- Additional Comment #10 From Damjan Georgievski 2006-09-12 02:32 -------
> Have you even looked at any other locale?  All strings must use the <U....>
> format for each character.  No UTF-8 encoded strings.

Sorry, I don't know where I got the idea... I guess I've found that it works and
thought it's ok.

> And next time when you reply, change the status away from WAITING.

I don't understand, should I change the status to NEW?

------- Additional Comment #11 From Damjan Georgievski 2006-09-12 02:35 -------
Created an attachment (id=1293)
Patch for the mk_MK locale data

Here's the latest patch for mk_MK. Corrected my mistakes in the first patch,
and reverted back to <U....> escaped Unicode representation.

------- Additional Comment #12 From Ulrich Drepper 2006-09-20 17:28 -------
Patch applied in cvs.

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In