View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 04581 | Bug reports | Other | public | 2010-09-06 12:17 | 2010-09-08 17:27 |
| Reporter | ronvdburg | Assigned To | c_schmitz | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Fixed in Version | 1.90+ | ||||
| Summary | 04581: Typo's in dateformat variable in printablesurvey | ||||
| Description | printable survey uses $dbformat where $dformat is meant in 4 cases. | ||||
| Steps To Reproduce | Look at admin/printablesurvey.php and search for dformat / dbformat. | ||||
| Tags | No tags attached. | ||||
| Attached Files | printablesurvey-dbformat-typos-diff.txt (928 bytes)
Index: printablesurvey.php
===================================================================
--- printablesurvey.php (revision 9114)
+++ printablesurvey.php (working copy)
@@ -82,19 +82,19 @@
break;
case 7: $dformat = 'Y/m/d'; // yyyy/mm/dd
break;
- case 6: $dbformat = 'Y-m-d'; // yyyy-mm-dd
+ case 6: $dformat = 'Y-m-d'; // yyyy-mm-dd
break;
case 4: $dformat = 'j.n.Y'; // d.m.yyyy
break;
case 8: $dformat = 'j/n/y'; // d/m/yyyy
break;
- case 12: $dbformat = 'j-n-Y'; // d-m-yyyy
+ case 12: $dformat = 'j-n-Y'; // d-m-yyyy
break;
case 9: $dformat = 'm-d-Y'; // mm-dd-yyyy
break;
- case 10: $dbformat = 'm.d.Y'; // mm.dd.yyyy
+ case 10: $dformat = 'm.d.Y'; // mm.dd.yyyy
break;
- case 11: $dbformat = 'm/d/Y'; // mm/dd/yyyy
+ case 11: $dformat = 'm/d/Y'; // mm/dd/yyyy
break;
default: $dformat = 'Y-m-d'; // yyyy-mm-dd
break;
| ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 9114 | ||||
| I will donate to the project if issue is resolved | |||||
| Browser | IE8 | ||||
| Database type & version | mysql 5.0.77 | ||||
| Server OS (if known) | Centos 5.3 / Linux 2.6.18 | ||||
| Webserver software & version (if known) | apache 2.2.3 | ||||
| PHP Version | 5.1.6 | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-09-06 12:17 | ronvdburg | New Issue | |
| 2010-09-06 12:17 | ronvdburg | File Added: printablesurvey-dbformat-typos-diff.txt | |
| 2010-09-06 12:18 | ronvdburg | Issue Monitored: ronvdburg | |
| 2010-09-07 14:13 | c_schmitz | Note Added: 12773 | |
| 2010-09-07 14:13 | c_schmitz | Status | new => resolved |
| 2010-09-07 14:13 | c_schmitz | Fixed in Version | => 1.90+ |
| 2010-09-07 14:13 | c_schmitz | Resolution | open => fixed |
| 2010-09-07 14:13 | c_schmitz | Assigned To | => c_schmitz |
| 2010-09-08 17:27 | c_schmitz | Note Added: 12783 | |
| 2010-09-08 17:27 | c_schmitz | Status | resolved => closed |
| 2010-10-25 00:18 | c_schmitz | Category | Survey Taking => (No Category) |
| 2021-08-04 21:48 | guest | Bug heat | 2 => 4 |