View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19439 | Bug reports | Survey taking | public | 2024-02-22 16:23 | 2024-08-15 10:17 |
Reporter | doesthiswork | Assigned To | c_schmitz | ||
Priority | normal | Severity | partial_block | ||
Status | confirmed | Resolution | open | ||
Product Version | 6.4.x | ||||
Summary | 19439: Calender (datepicker) starts with Sunday instead of monday, even when language is set to German | ||||
Description | Hello, I stumbled across a problem while trying to migrate all my surveys from LS3 to LS6. In LS3 the calendar starts with Monday. I checked my installation documentation of LS3 and I couldn't find anything in particular that I haven't done during the LS6 installation. moment.locale() console.log(moment().format('LLLL')) I changed following file (assets/packages/datetimepicker/datepickerInit.js) to force the "de" (german language) var pickers = {}; moment.locale('de'); /**
That sort of worked for the webdev console, because it picked up now the DE format date. moment.locale() console.log(moment().format('LLLL')) The calendar still starts on Sunday though.. Currently it makes it impossible to migrate for me, since everyone will be confused about the calendar. It would be great if you could change between Monday or Sunday. | ||||
Steps To Reproduce | Steps to reproduceCreate a survey. Create a question group. Create a question with date/time selection Run survey and open up the calendar for the date/time selection. Expected resultLike in LS3 I expect the calendar to start with Monday. Actual resultWeek starts with Sunday. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 12 | ||||
Complete LimeSurvey version number (& build) | 6.4.5+240205 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox 123.0 | ||||
Database type & version | postgresql-16 16.2-1 | ||||
Server OS (if known) | Debian 12 Bookworm | ||||
Webserver software & version (if known) | Apache 2.4.57 | ||||
PHP Version | 8.3.3 | ||||
I can confirm that this was previously working automatically in LS5. So, English would have Sunday as start of week, German a Monday |
|
Moment.js has this information available, question is why it is not used by DateTimePicker. |
|
Is there any way I can help to solve this issue, or perhaps a workaround? |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2024-02-22 16:23 | doesthiswork | New Issue | |
2024-02-22 16:23 | doesthiswork | File Added: datepicker_2024-02-19-2.png | |
2024-02-22 16:23 | doesthiswork | File Added: einstellungen_2024-02-19.png | |
2024-02-23 14:28 | c_schmitz | Note Added: 79610 | |
2024-02-23 14:28 | c_schmitz | Bug heat | 0 => 2 |
2024-02-23 14:30 | guest | Bug heat | 2 => 8 |
2024-02-23 15:19 | c_schmitz | Assigned To | => c_schmitz |
2024-02-23 15:19 | c_schmitz | Status | new => confirmed |
2024-02-23 15:19 | c_schmitz | Note Added: 79611 | |
2024-02-23 15:19 | c_schmitz | Priority | none => normal |
2024-02-26 13:46 | doesthiswork | Issue Monitored: doesthiswork | |
2024-02-26 13:46 | doesthiswork | Bug heat | 8 => 10 |
2024-08-15 10:17 | doesthiswork | Note Added: 80767 | |
2024-08-15 10:17 | doesthiswork | Bug heat | 10 => 12 |