mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #41135
[Bug 1670885] A change has been merged
Reviewed: https://reviews.mahara.org/7509
Committed: https://git.mahara.org/mahara/mahara/commit/e707353a34ab9a6cb534290fb5db9f728d7b56d9
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: master
commit e707353a34ab9a6cb534290fb5db9f728d7b56d9
Author: Gregor Anzelj <gregor.anzelj@xxxxxxxxx>
Date: Mon Feb 20 03:14:16 2017 +0100
format_date function returns false (Bug #1670885)
It is known that under Windows the %e modifier of strftime
function is problematic. Modifier %l is also problematic and
must be replced with %#I so that format_date will work under
Windows.
behatnotneeded
Change-Id: I7c0dec6bfd220fbd79a5608a28d152f41df47b6b
--
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/1670885
Title:
format_date function returns false (Windows)
Status in Mahara:
Fix Committed
Bug description:
format_date() function uses undelying strftime function.
It is known that %e modifier is not supported. However when I use
format_date() function with the following formatkey 'strftimedatetime'
which translates to '%%d %%B %%Y, %%l:%%M %%p' (for English language)
the functon returns false.
According to http://stackoverflow.com/questions/12362179/why-does-
strftime-on-windows-returns-false-im-not-using-e the modifier %l is
the problematic one. If it is changed to %#I (under Windows) then it
works as expected...
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1670885/+subscriptions
References