6.0.0-beta1
9/4/25

[#6154] First weekday is Sunday while Monday has been configured
Summary First weekday is Sunday while Monday has been configured
Queue Kronolith
Queue Version 2.2-RC1
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester richard (at) radoeka (dot) nl
Created 01/26/2008 (6431 days ago)
Due
Updated 01/26/2008 (6431 days ago)
Assigned 01/26/2008 (6431 days ago)
Resolved 01/26/2008 (6431 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/26/2008 11:12:06 PM ml (at) radoeka (dot) nl Comment #8 Reply to this comment
When the global setting is set to Monday, the kronolith week view
shows Sunday as 1st day, while the work view shows Monday as the 1st
day.  It would be nice if at least both would show the day as first
day, either Monday or Sunday.
The work week shows Monday as the first day of the week because
Sunday is not shown in the work week.
Ah, that's the reason indeed.  Thanks for the clarification.

and the fast responses!


01/26/2008 10:59:24 PM Michael Rubinsky Comment #7 Reply to this comment
What does the state "not a bug" mean?  Is the bug still open or is it
closed now?
It means that the reported behavior is not a bug...and the 
Horde/Kronolith is working as expected.
When the global setting is set to Monday, the kronolith week view
shows Sunday as 1st day, while the work view shows Monday as the 1st
day.  It would be nice if at least both would show the day as first
day, either Monday or Sunday.
The work week shows Monday as the first day of the week because Sunday 
is not shown in the work week.
As you stated that the kronolith settings control this, I would say
that the week view (7 days) is showing the wrong 1st day of the week,
isn't?
No, Kronolith controls Kronolith's calendars. If you tell Kronolith 
that Sunday is the first day, the Sunday is the first day.


01/26/2008 10:26:10 PM ml (at) radoeka (dot) nl Comment #6 Reply to this comment
What does the state "not a bug" mean?  Is the bug still open or is it 
closed now?  The current horde behavior is inconsistent:



When the global setting is set to Monday, the kronolith week view 
shows Sunday as 1st day, while the work view shows Monday as the 1st 
day.  It would be nice if at least both would show the day as first 
day, either Monday or Sunday.



As you stated that the kronolith settings control this, I would say 
that the week view (7 days) is showing the wrong 1st day of the week, 
isn't?




01/26/2008 09:29:27 PM Chuck Hagenbuch Comment #5
State ⇒ Not A Bug
Reply to this comment
They're not conflicting, but they horde global ones only control the 
global date picker provided to all horde apps. The Kronolith settings 
control inside Kronolith.
01/26/2008 09:18:42 PM ml (at) radoeka (dot) nl Comment #4 Reply to this comment
Now this is interesting, I just found the setting that you referred too under;

sidebar -> Options -> Calendar -> Display Options | User Interface ->

"Select the first weekday:"

Which is to be found in:



./kronolith/config/prefs.php

114 $_prefs['week_start_monday'] = array(

115     'value' => '0',

116     'locked' => false,

117     'shared' => false,

118     'type' => 'enum',

119     'desc' => _("Select the first weekday:"),

120     'enum' => array('0' => _("Sunday"),

121                     '1' => _("Monday"))



For both users these are set to Sunday...



So the settings in Locale and Time and in the Calendar are a bit conflicting?




01/26/2008 09:07:18 PM ml (at) radoeka (dot) nl Comment #3 Reply to this comment
I can't reproduce this. You've selected Monday as the first day of
the week in your Kronolith preferences?
I have this in the settings:

# ldapsearch -x | grep -iE "^dn:|monday"

..........

dn: cn=........

kronolithPrefs: week_start_monday:MA==

dn: cn=........

kronolithPrefs: week_start_monday:MA==



The setting can be reached via:

Horde sidebar -> Options -> Global Options -> Locale and Time ->

Which day would you like to be displayed as the first day of the week?



The message is to be found in:

......horde/config/prefs.php



324 // what day should be displayed as the first day of the week?

325 $_prefs['first_week_day'] = array(

326     'value' => '0',

327     'locked' => false,

328     'shared' => true,

329     'type' => 'enum',

330     'desc' => _("Which day would you like to be displayed as the 
first day o    f the week?"),

331     'enum' => array('0' => _("Sunday"),

332                     '1' => _("Monday"))

333 );



Verify the data again with the  new information:

dn: cn=..............

kronolithPrefs: week_start_monday:MA==

hordePrefs: first_week_day:MQ==



dn: cn=......

kronolithPrefs: week_start_monday:MA==

hordePrefs: first_week_day:MQ==



Both have monday set as first day of the week.



I checked out from both logins and after login in again the setting is

the same, from that I assume it is saved correctly.




01/26/2008 07:43:20 PM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
I can't reproduce this. You've selected Monday as the first day of the 
week in your Kronolith preferences?
01/26/2008 02:50:56 PM richard (at) radoeka (dot) nl Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ First weekday is Sunday while Monday has been configured
Queue ⇒ Kronolith
State ⇒ Unconfirmed
Reply to this comment
Kronolith shows the first day of the week (7 days view) being a Sunday 
while Monday has been configured.  The workweek (5 days view) is

shown correctly.  As such it is confusing when one toggles between the

week and workweek view.  It does not matter wether the tabs (week or 
workweek) are used or the kronolith sub menu entries in the horde's

sidebar are used.


Saved Queries