mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #55930
[Bug 1837631] A change has been merged
Reviewed: https://reviews.mahara.org/10248
Committed: https://git.mahara.org/mahara/mahara/commit/f1fa9d70bacc39c53351e692506f30229596802a
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: master
commit f1fa9d70bacc39c53351e692506f30229596802a
Author: Rebecca Blundell <rebeccablundell@xxxxxxxxxxxxxxx>
Date: Wed Aug 7 17:19:53 2019 +1200
Bug 1837631: versioning date not translated
behatnotneeded
Change-Id: I89fd867ad0682aad04b5babeda0892220676bb5d
--
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/1837631
Title:
Time date translation
Status in Mahara:
Fix Committed
Bug description:
Version : 19.04.0 and 19.04.1, also present on latest version of git
https://github.com/MaharaProject/mahara
When seeing a timeline (view/versioning.php?view=ID), even if my site is french I see date in english.
Ex.: 23 july instead of 23 juillet.
Tracking code down, the problem comes from file
/view/versioning.json.php
On line 45 we have :
"taskShortDate" => date('j F', strtotime($value->ctime)),
That should be :
"taskShortDate" => strftime('%e %B', strtotime($value->ctime)),
So this takes account of current language, not language set on php
config.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1837631/+subscriptions
References