mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #54241
[Bug 1831689] [NEW] Datepicker doesnt work with different date formats
Public bug reported:
When a different date format (other than the Mahara default YYYY/MM/DD
HH:mm), the datepicker doesnt work.
Steps to reproduce:
1. Update lang/en.utf8/langconfig.php with the following:
$string['pieform_calendar_dateformat'] = '%%d/%%m/%%Y';
$string['pieform_calendar_timeformat'] = '%%l:%%M %%p';
2. Clear site cache
3. In the Shared by Me, set 'Allow comments' = No
4. Enter a page to share with a group with an end date selected from
outside of the current month.
5. Save and re-enter the page.
Expected result: Clicking on the 'to' field opens the datepicker
Actual result: the datepicker doesnt open and error messages are displayed in the console.
Steps I've tried to fix:
-Hard coding the new date format (DD/MM/YYYY h:mm A) into theme/raw/templates/form/viewacl.tpl:164
-Adding new code to the library as per https://github.com/tempusdominus/bootstrap-4/issues/193#issuecomment-465649868
-Removing the local from theme/raw/templates/form/viewacl.tpl:165
** Affects: mahara
Importance: Undecided
Status: Confirmed
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1831689
Title:
Datepicker doesnt work with different date formats
Status in Mahara:
Confirmed
Bug description:
When a different date format (other than the Mahara default YYYY/MM/DD
HH:mm), the datepicker doesnt work.
Steps to reproduce:
1. Update lang/en.utf8/langconfig.php with the following:
$string['pieform_calendar_dateformat'] = '%%d/%%m/%%Y';
$string['pieform_calendar_timeformat'] = '%%l:%%M %%p';
2. Clear site cache
3. In the Shared by Me, set 'Allow comments' = No
4. Enter a page to share with a group with an end date selected from
outside of the current month.
5. Save and re-enter the page.
Expected result: Clicking on the 'to' field opens the datepicker
Actual result: the datepicker doesnt open and error messages are displayed in the console.
Steps I've tried to fix:
-Hard coding the new date format (DD/MM/YYYY h:mm A) into theme/raw/templates/form/viewacl.tpl:164
-Adding new code to the library as per https://github.com/tempusdominus/bootstrap-4/issues/193#issuecomment-465649868
-Removing the local from theme/raw/templates/form/viewacl.tpl:165
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1831689/+subscriptions
Follow ups
-
[Bug 1831689] Re: Datepicker doesnt work with different date formats
From: Lisa Seeto, 2019-10-31
-
[Bug 1831689] Re: Datepicker doesnt work with different date formats
From: Cecilia Vela Gurovic, 2019-07-23
-
[Bug 1831689] A change has been merged
From: Mahara Bot, 2019-06-19
-
[Bug 1831689] Re: Datepicker doesnt work with different date formats
From: Robert Lyon, 2019-06-19
-
[Bug 1831689] A patch has been submitted for review
From: Mahara Bot, 2019-06-19
-
[Bug 1831689] A change has been merged
From: Mahara Bot, 2019-06-19
-
[Bug 1831689] Re: Datepicker doesnt work with different date formats
From: Robert Lyon, 2019-06-19
-
[Bug 1831689] A patch has been submitted for review
From: Mahara Bot, 2019-06-13
-
[Bug 1831689] Re: Datepicker doesnt work with different date formats
From: Kristina Hoeppner, 2019-06-12
-
[Bug 1831689] Re: Datepicker doesnt work with different date formats
From: Robert Lyon, 2019-06-11
-
[Bug 1831689] A patch has been submitted for review
From: Mahara Bot, 2019-06-11
-
[Bug 1831689] Re: Datepicker doesnt work with different date formats
From: Robert Lyon, 2019-06-11
-
[Bug 1831689] Re: Datepicker doesnt work with different date formats
From: Kristina Hoeppner, 2019-06-05