View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05749Bug reportsSurvey takingpublic2012-03-14 21:08
Reporteruser14785Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.91+ 
Fixed in Version1.91+ 
Summary05749: Date mismatching in finnish language (using dropdown chooser)
Description

When answering a date question it is saved in the database in wrong way.
If month is different from december it is converted to it and if it is set to december it is converted to february.
Year is often converted to an year before (2007 becomes 2006).
Year before 2000 are saved as 09XX (e.g. 1997 becomes 0996).

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)12170
I will donate to the project if issue is resolvedNo
Browserchrome
Database type & versionMysql
Server OS (if known)Linux
Webserver software & version (if known)LiteSpeed V5.5
PHP Version5.3.9

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-02-03 12:47

administrator   ~17201

Please attach a small sample survey demonstrating the issue.

user14785

2012-02-03 13:13

  ~17202

sample survey attached.
problem seems to occur when first digit of the day is 0 (01-09)

to reproduce try for example
01-helmi-2004 (in database 2003-12-01)
18-kesa-1998 (in database 0997-06-18)

user14785

2012-02-03 13:19

  ~17203

For what I know it happens only for Finnish

With these languages no problem:
Italian
English
Dutch
Spanish
Portuguese
Greek
French
Hungarian

c_schmitz

c_schmitz

2012-02-06 17:21

administrator   ~17258

Attached fixed file (put it in \limesurvey\classes\datetimeconverter).
Fixed in rev. 12371

c_schmitz

c_schmitz

2012-02-09 11:57

administrator   ~17322

New version released.

Related Changesets

LimeSurvey: Yii 69c25cc2

2012-02-06 08:20:29

c_schmitz

Details Diff
Fixed issue 05749: Wrong date conversion when using certain date formats

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@12373 b72ed6b6-b9f8-46b5-92b4-906544132732
Affected Issues
05749
mod - application/libraries/Date_Time_Converter.php Diff File

Issue History

Date Modified Username Field Change
2012-02-03 09:43 user14785 New Issue
2012-02-03 12:47 c_schmitz Note Added: 17201
2012-02-03 12:47 c_schmitz Assigned To => c_schmitz
2012-02-03 12:47 c_schmitz Status new => feedback
2012-02-03 13:05 user14785 File Added: limesurvey_survey_11829.lss
2012-02-03 13:13 user14785 Note Added: 17202
2012-02-03 13:13 user14785 Status feedback => assigned
2012-02-03 13:19 user14785 Note Added: 17203
2012-02-06 17:20 c_schmitz Status assigned => resolved
2012-02-06 17:20 c_schmitz Fixed in Version => 1.91+
2012-02-06 17:20 c_schmitz Resolution open => fixed
2012-02-06 17:21 c_schmitz File Added: class.datetimeconverter.php
2012-02-06 17:21 c_schmitz Note Added: 17258
2012-02-09 11:57 c_schmitz Note Added: 17322
2012-02-09 11:57 c_schmitz Status resolved => closed
2012-03-14 21:08 c_schmitz Changeset attached => Import 2012-03-09 13:30:34 Yii 69c25cc2