Date picker not working for certain languages

Bug #1376997 reported by Robert Lyon on 2014-10-03
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mahara
High
Robert Lyon
1.10
High
Robert Lyon
15.04
High
Unassigned

Bug Description

Now that we have switched to a new date picker - it is broken in languages that deal with dates in the dd.mm.yyyy format, eg german and french for example.

Need to be able to adjust the dates like we used to.

Robert Lyon (robertl-9) on 2014-10-07
Changed in mahara:
status: New → In Progress
Aaron Wells (u-aaronw) on 2014-10-08
Changed in mahara:
milestone: 1.11.0 → 1.10.0

Reviewed: https://reviews.mahara.org/3755
Committed: http://gitorious.org/mahara/mahara/commit/a4561a6c689e8edc8b231a5fc06f461f8da12777
Submitter: Son Nguyen (<email address hidden>)
Branch: master

commit a4561a6c689e8edc8b231a5fc06f461f8da12777
Author: Robert Lyon <email address hidden>
Date: Tue Oct 7 11:59:58 2014 +1300

Date picker not working for certain languages (Bug #1376997)

Allowing other language's date formats to be used - eg German dates
like 10.05.2013

As the datepicker uses yet another format for parsing dates we need to
add in some new strings to handle this.

Note - lang strings will need to be added to the langconfig.php file
for the languages you are testing, eg:

$string['calendar_dateFormat'] = 'dd.mm.yy';
$string['calendar_timeFormat'] = 'HH:mm';

Change-Id: I40e7c50687d9e42d0f78df450fff0004dd6d5710
Signed-off-by: Robert Lyon <email address hidden>

Reviewed: https://reviews.mahara.org/3792
Committed: http://gitorious.org/mahara/mahara/commit/0e942d3e2908a7763a88bad51c3d91869cb03575
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.10_STABLE

commit 0e942d3e2908a7763a88bad51c3d91869cb03575
Author: Robert Lyon <email address hidden>
Date: Tue Oct 7 11:59:58 2014 +1300

Date picker not working for certain languages (Bug #1376997)

Allowing other language's date formats to be used - eg German dates
like 10.05.2013

As the datepicker uses yet another format for parsing dates we need to
add in some new strings to handle this.

Note - lang strings will need to be added to the langconfig.php file
for the languages you are testing, eg:

$string['calendar_dateFormat'] = 'dd.mm.yy';
$string['calendar_timeFormat'] = 'HH:mm';

Change-Id: I40e7c50687d9e42d0f78df450fff0004dd6d5710
Signed-off-by: Robert Lyon <email address hidden>

Dominique-Alain JAN (dajan) wrote :

Ok David,

C'est fait

Robert Lyon (robertl-9) on 2015-04-17
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers