View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
12198 | Bug reports | Survey taking | public | 2017-03-12 15:19 | 2017-05-22 17:40 |
Reporter | jelo | Assigned To | DenisChenu | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.64.x | ||||
Summary | 12198: Date/Time question with timeformat A a for AM/PM is not seen or saved as a valid value | ||||
Description | Date/Time question with the format set to 'HH:MM A' and the responses are not being captured by LimeSurvey. Threadstarter is johnF Issue is reproducible with demo.limesurvey.org. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 12 | ||||
Complete LimeSurvey version number (& build) | 2.64.Z | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | Demo | ||||
Server OS (if known) | Demo | ||||
Webserver software & version (if known) | Demo | ||||
PHP Version | Demo | ||||
The requested example as a survey file. |
|
Strangely : javascript ( {self.NAOK} ) show a good value |
|
Think it's a boostrap-datepicker issue (see screenshot) BUT : https://github.com/smalot/bootstrap-datetimepicker/issues/3 is closed. 16:00 pm is clearly an invalid date It's our integration of datetimepicker : https://eonasdan.github.io/bootstrap-datetimepicker/ is OK (see first) |
|
You know better momentjs than me. We have to restrict momentjs for php control of date PHP control is done here : https://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/expressions/em_manager_helper.php#L8704 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=22482 |
|
Prior to the 170324 release I was using the datepicker successfully with the following settings: |
|
https://bugs.limesurvey.org/plugin.php?page=Source/view&id=22508 |
|
Refixed here : https://github.com/LimeSurvey/LimeSurvey/commit/8b5d809d566b3db9473445818d8b30938a699ea4 |
|
Release 2.65.1 Build 170522 |
|
LimeSurvey: master 81e18b4f 2017-03-19 19:28 Details Diff |
Fixed issue 12198: Date/Time question timeformat A seems invalid Dev: looking at help : d/m/y for date H:M for time, adding A a Dev: js use momentjs : http://momentjs.com/docs/#/displaying/format/ Dev: but hard to use momentjs with php date Dev: see http://locutus.io/php/datetime/date/ too |
Affected Issues 12198 |
|
mod - application/helpers/surveytranslator_helper.php | Diff File | ||
mod - application/libraries/Date_Time_Converter.php | Diff File | ||
LimeSurvey: master fad15807 2017-03-21 16:54
Committer: GitHub Details Diff |
Merge pull request #669 from Shnoulle/master_fix12198 Fixed issue 12198: Date/Time question timeformat A seems invalid |
Affected Issues 12198 |
|
mod - application/helpers/surveytranslator_helper.php | Diff File | ||
mod - application/libraries/Date_Time_Converter.php | Diff File | ||
LimeSurvey: master 8b5d809d 2017-03-27 21:40 Details Diff |
Fixed issue : Unable to use month in date |
Affected Issues 12198 |
|
mod - application/helpers/surveytranslator_helper.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-03-12 15:19 | jelo | New Issue | |
2017-03-14 08:48 | DenisChenu | Issue Monitored: DenisChenu | |
2017-03-14 12:20 | jelo | File Added: dateformat_ampm391433.lss | |
2017-03-14 12:20 | jelo | Note Added: 43280 | |
2017-03-18 20:18 | DenisChenu | Note Added: 43291 | |
2017-03-18 20:19 | DenisChenu | File Added: dateformat_ampm391433-withjs.lss | |
2017-03-18 20:28 | DenisChenu | File Added: Capture du 2017-03-18 20-26-12.png | |
2017-03-18 20:28 | DenisChenu | Note Added: 43292 | |
2017-03-18 20:32 | DenisChenu | Note Edited: 43292 | |
2017-03-19 18:31 | DenisChenu | Note Added: 43293 | |
2017-03-19 18:34 | DenisChenu | Assigned To | => markusfluer |
2017-03-19 18:34 | DenisChenu | Status | new => feedback |
2017-03-19 18:34 | DenisChenu | Note Added: 43294 | |
2017-03-19 18:34 | DenisChenu | Note Edited: 43294 | |
2017-03-21 15:54 | DenisChenu | Changeset attached | => LimeSurvey master 81e18b4f |
2017-03-21 15:54 |
|
Changeset attached | => LimeSurvey master fad15807 |
2017-03-21 15:54 |
|
Note Added: 43307 | |
2017-03-21 15:54 |
|
Assigned To | markusfluer => user78869 |
2017-03-21 15:54 |
|
Resolution | open => fixed |
2017-03-27 23:23 | web_digital | Note Added: 43351 | |
2017-03-28 09:17 | DenisChenu | Changeset attached | => LimeSurvey master 8b5d809d |
2017-03-28 09:18 | DenisChenu | Changeset removed | LimeSurvey master 8b5d809d => |
2017-03-28 09:18 | DenisChenu | Note Added: 43352 | |
2017-03-29 10:25 | DenisChenu | Changeset attached | => LimeSurvey master 8b5d809d |
2017-03-29 10:26 | DenisChenu | Assigned To | user78869 => DenisChenu |
2017-03-29 10:26 | DenisChenu | Status | feedback => resolved |
2017-03-29 10:26 | DenisChenu | Note Added: 43358 | |
2017-05-22 17:40 | c_schmitz | Note Added: 43700 | |
2017-05-22 17:40 | c_schmitz | Status | resolved => closed |
2021-08-02 16:52 | guest | Bug heat | 10 => 12 |