View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001065 | SOGo | Web Calendar | public | 2010-12-30 19:18 | 2018-04-27 10:09 |
| Reporter | charlie2 | Assigned To | francis | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 1.3.4 | ||||
| Fixed in Version | 2.3.5 | ||||
| Summary | 0001065: Calendar weeks are wrong | ||||
| Description | Hi, i think the calculation of the calendar weeks is wrong. Regards, | ||||
| Tags | No tags attached. | ||||
|
I can confirm this bug. SOGo should use Unix system command 'date "+%V" which returns correct number of the week in ISO 8601. |
|
|
Aha - now I found I had not set any SOGoFirstWeekOfYear variable, so defalut value "January1" is using. That is wrong for Czech Rep.
and it will be ok for all. Milos |
|
|
Instead of backup and restore you can iterate through each user with a wrong setting: [sogo@machine ~]$ /usr/sbin/sogo-tool user-preferences set defaults ${userID} SOGoFirstWeekOfYear First4DayWeek With this you don't rely on the user to not edit his account data while changing this preference. |
|
|
I tried it, but I got following error [on SOGo-1.3.16] /usr/local/sbin/sogo-tool user-preferences set defaults kur SOGoFirstWeekOfYear First4DayWeek |
|
|
You must provide JSON input to sogo-tool. First, do a "get" and understand what you're trying to set, then do it. |
|
|
I tried to find something about it documentation - I didn't find. |
|
|
sogo-tool user-preferences get ... |
|
|
Sorry, should have been precise: /usr/sbin/sogo-tool user-preferences set defaults ${userID} SOGoFirstWeekOfYear '{"SOGoFirstWeekOfYear": "First4DayWeek"}' |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-12-30 19:18 | charlie2 | New Issue | |
| 2011-03-17 13:53 | wimmer | Note Added: 0002266 | |
| 2011-03-24 17:38 | wimmer | Note Added: 0002295 | |
| 2012-06-18 12:36 | Christian Mack | Note Added: 0004052 | |
| 2012-06-18 13:37 | wimmer | Note Added: 0004057 | |
| 2012-06-18 13:51 | ludovic | Note Added: 0004058 | |
| 2012-06-18 14:04 | wimmer | Note Added: 0004059 | |
| 2012-06-18 14:16 | ludovic | Note Added: 0004060 | |
| 2012-06-18 15:42 | Christian Mack | Note Added: 0004063 | |
| 2015-12-22 19:26 | francis | Relationship added | duplicate of 0001010 |
| 2015-12-22 19:26 | francis | Status | new => resolved |
| 2015-12-22 19:26 | francis | Fixed in Version | => 2.3.5 |
| 2015-12-22 19:26 | francis | Resolution | open => fixed |
| 2015-12-22 19:26 | francis | Assigned To | => francis |