View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
05858 | Bug reports | Print View | public | 2012-02-27 19:36 | 2012-04-05 19:15 |
Reporter | misterdot | Assigned To | c_schmitz | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.91+ | ||||
Target Version | 2.00a3 | Fixed in Version | 2.00b1 | ||
Summary | 05858: Incorrect date format on detailed admin notification email and print answers | ||||
Description | Setting the date format in the "edit text elements" settings has no effect on the format in the detailed admin notification nor print answers. Both are still in the dd.mm.yyyy format. | ||||
Steps To Reproduce |
| ||||
Additional Information | Line 1830 of common_functions.php seems to be the culprit: | ||||
Tags | No tags attached. | ||||
Attached Files | common_functions.diff (274 bytes)
1847c1847 < --- > 7065c7065 < $answer=getextendedanswer($fname['fieldname'], $idrow[$fname['fieldname']], '', $_SESSION['dateformats']['phpdate']); --- > $answer=getextendedanswer($fname['fieldname'], $idrow[$fname['fieldname']]); | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 12022 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome 17 | ||||
Database type & version | MySQL 5.1.52 | ||||
Server OS (if known) | CentOS 6.2 | ||||
Webserver software & version (if known) | Apache 2.2.15 | ||||
PHP Version | 5.3.3 | ||||
I found out that the problem is at line 7065 in common_functions.php. The date format is not passed to getextendedanswer(). I've attached my patch for common_functions.php |
|
Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=7964 |
|
Released 2.00b1 |
|
LimeSurvey: Yii b4e3af7d 2012-03-15 18:44:18 Details Diff |
Fixed issue 05858: Incorrect date format on detailed admin notification email and print answers |
Affected Issues 05858 |
|
mod - application/controllers/admin/surveyadmin.php | Diff File | ||
mod - application/core/Survey_Common_Action.php | Diff File | ||
mod - application/helpers/common_helper.php | Diff File | ||
mod - application/helpers/surveytranslator_helper.php | Diff File | ||
mod - application/models/Surveys_languagesettings.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-02-27 19:36 | misterdot | New Issue | |
2012-02-27 19:36 | misterdot | File Added: limesurvey_survey_22944.lss | |
2012-02-27 19:37 | misterdot | File Added: screenshot.jpg | |
2012-02-28 10:07 | Mazi | Assigned To | => c_schmitz |
2012-02-28 10:07 | Mazi | Status | new => assigned |
2012-03-12 17:45 | c_schmitz | Target Version | => 2.00a3 |
2012-03-14 07:23 | ryandao | Note Added: 17914 | |
2012-03-14 07:24 | ryandao | File Added: common_functions.diff | |
2012-03-14 07:25 | ryandao | Note Edited: 17914 | |
2012-03-16 02:44 | c_schmitz | Changeset attached | => LimeSurvey Yii b4e3af7d |
2012-03-16 02:44 | c_schmitz | Note Added: 17942 | |
2012-03-16 02:44 | c_schmitz | Resolution | open => fixed |
2012-03-16 02:44 | c_schmitz | Status | assigned => resolved |
2012-03-16 02:44 | c_schmitz | Fixed in Version | => 2.00b1 |
2012-04-05 19:15 | c_schmitz | Note Added: 18226 | |
2012-04-05 19:15 | c_schmitz | Status | resolved => closed |