first_weekday and first_workday is not set making applications use wrong first day of the week (Sunday) while it should be Monday.
I've noticed old update file submit in which among other updates is present this one too, but it seems it get rejected for some reason...
Please update this two entries for hr_HR locale file.
Created attachment 6873 [details]
Patch for first_weekday and first_workday
Please add this patch upstream. Patch alters first_weekday and first_workday to match country locale.
Have you built glibc trunk with this change and does it resolve your problem?
If it does then I'd be more than happy to check it in since it also appears to match the suggested first_* information from BZ#10580.
Could you confirm your patch fixes the issue with trunk please?
It would be great if glibc maintainers would look at #10580 which would solve this and more problems. If you don't won't complete changes in #10580 then consider majority of it, since it waits there for years (at least for a reply from maintainers), although previous croatian maintainer approved the changes as well.
(In reply to comment #2)
> Have you built glibc trunk with this change and does it resolve your problem?
> If it does then I'd be more than happy to check it in since it also appears to
> match the suggested first_* information from BZ#10580.
> Could you confirm your patch fixes the issue with trunk please?
I'm sorry but I have no knowledge to compile and test the whole project. I had it edited in this way and compiled using a simple command I don't remember exactly but with distro update my compiled file gone too. And now I can't do even that any more, there are no more. The compiled files had gone as it seems and all it's left is some locale-archive which I have no idea how to update.
(In reply to comment #3)
> It would be great if glibc maintainers would look at #10580 which would solve
> this and more problems. If you don't won't complete changes in #10580 then
> consider majority of it, since it waits there for years (at least for a reply
> from maintainers), although previous croatian maintainer approved the changes
> as well.
That would be great it seems you took a lot of effort... it's a shame that is out of main tree for so long.
I'm sorry that I'm not competent enough to review your patch.
Let's first see if we can quickly resolve bug 10580 and resolve this one separately only if we get stuck for any reason.
Please add my changes upstream, I think we waited enough. After all these changes are not that complicated to work around. Patching vanilla locales every time is annoying.
*** This bug has been marked as a duplicate of bug 10580 ***
Great, some progress. Does closing this bug means that it will be fixed soon with bug 10580?
i should have week related fields fixed in all locales for glibc-2.24
First of all, thank you!
With your patch first weekday is set correctly to monday. I have noticed you've set MINWEEKLEN to 1 which is different from what Dragan and I have been set (4). I am not sure what this does so I can't comment if it is correct or not.
diff --git a/localedata/locales/hr_HR b/localedata/locales/hr_HR
index a1fe6f8..90cee4b 100644
@@ -2213,6 +2213,8 @@ d_fmt "<U0025><U0064><U002E><U0025><U006D><U002E><U0025><U0059>"
the CLDR says it should be 1. check out http://cldr.unicode.org for more details.