Bugzilla – Bug 5056
Weekday alerts should be on Sundays in Hebrew version
Last modified: 2008-11-06 08:00:00 UTC
Weekdays start on Sunday, not Monday in Israel. Which screen is this on? Issue found by translators testing Hebrew version of SlimServer. Using either May 12 or May 13 2007 version. Michael H suggested deferring to post-6.5.2. Reassign to Michael H. No screenshot.
I suggest that some people should be capable of bending on some issues. this isn't as simple as it looks. We could change the strings, but the index is based on unix time functions. Does the locale setting alter this index?
If this is a must have fix, then we may want to consider a different method for this. Hebrew shouldn't be the selection mechanism given that Hebrew language choice isn't restricted to Israel alone. How about a checkbox for "start week on monday/start week on sunday" By any chance, does the localtime function return a different value for day of week on Israel localised operating systems? This will also be important.
Could this just be a strings issue? ALARM_DAY1 for EN is monday, but is it a simple case of using that as Sunday for Hebrew? This will work as long as the localtime function on a hebrew system returns $wday=1 for sunday. Of course, this depends on both the system AND language set as hebrew. Using EN on a hebrew system or HE on a US English system will make things a lot more complicated, unless $wday is always 1 on Monday for every computer regardless of locale.
Moving post 7.0 - SC7.0 doesn't feature any updated Hebrew localization
We'll review the various UIs again once HE is officially supported.