View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 17556 | Bug reports | Survey participants (Tokens) | public | 2021-08-30 16:58 | 2026-10-31 12:01 |
| Reporter | PPRI | Assigned To | c_schmitz | ||
| Priority | none | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 5.x | ||||
| Summary | 17556: sent and remindersent of token is being recorded in the date form of admin user perference. | ||||
| Description | As you know, the data type of sent and remindersent field in the token table is nvarchar, not dateatime. As a result, if users have different date format preference, the value of sent and remindersent field are messed up in the different format. | ||||
| Steps To Reproduce | change the admin user's data format at My Personal Settings and send an invitation or reminder. If you check the db values, the string value of datatime of sent and remindersent will be in the different date format. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | Version 5.1.5+210830 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Google Chrome Version 92.0.4515.159 | ||||
| Database type & version | MS SQL 12.00.6164 | ||||
| Server OS (if known) | Windows NT 10.0 build 14393 | ||||
| Webserver software & version (if known) | Microsoft-IIS/10.0 | ||||
| PHP Version | 7.3.11 | ||||
| Git branch / Pull Request URL | |||||
|
Multiline in my opinion. |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=41186 |
|
|
LimeSurvey: master 84297a8a 2026-10-31 12:01 Details Diff |
Fixed issue 17556: Invitation, reminder and completion dates of participants were saved in the administrator's date format or as a wrong date Dev Adding a participant and mass edit stored the posted date unconverted; editing a participant in an anonymized survey turned an unchanged date into a wrong one Dev New Tokens::convertTokenDateToDbFormat() used by add, edit and mass edit, based on convertFromGlobalSettingFormat() |
Affected Issues 17556 |
|
| mod - application/controllers/admin/Tokens.php | Diff File | ||
| add - tests/unit/controllers/TokensDateFormatTest.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-08-30 16:58 | PPRI | New Issue | |
| 2021-08-31 07:52 | galads | Assigned To | => galads |
| 2021-08-31 07:52 | galads | Status | new => acknowledged |
| 2022-10-25 04:57 | gitahubert | Note Added: 72396 | |
| 2022-10-25 04:57 | gitahubert | Bug heat | 0 => 2 |
| 2026-10-31 12:01 | c_schmitz | Changeset attached | => LimeSurvey master 84297a8a |
| 2026-10-31 12:01 | c_schmitz | Note Added: 87035 | |
| 2026-10-31 12:01 | c_schmitz | Assigned To | galads => c_schmitz |
| 2026-10-31 12:01 | c_schmitz | Status | acknowledged => resolved |
| 2026-10-31 12:01 | c_schmitz | Resolution | open => fixed |
| 2026-10-31 12:01 | c_schmitz | Bug heat | 2 => 4 |