mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #65279
[Bug 1957720] Re: Formatted time includes extra space before the hour digit in submission notification
** Changed in: mahara
Importance: Undecided => Low
** Changed in: mahara
Status: New => Confirmed
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1957720
Title:
Formatted time includes extra space before the hour digit in
submission notification
Status in Mahara:
Confirmed
Bug description:
Environment:
Main branch, both Chromium and Firefox
Steps to reproduce:
1. Create a controlled group that allows submissions
2. Masquerade as a member of the group
3. Submit a page to the group
4. View the notification that comes through in Mahara notifications to the group member
Currently coming through as the following (See the double space between 'January 2022,' and '2:13pm':
"This is to confirm that you submitted the page "Untitled v.2" successfully to 'Submissions Testing' at 13 January 2022, 2:13pm.
If you have any questions about this submission, please contact your
instructor."
However, if the hour is a double digit i.e. 10, 11 or 12, this extra
space doesn't seem to be added.
Date formatting is happening in htdocs/module/assessmentreport/lib.php
lines 129/132
Desired outcome: remove the extra space
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1957720/+subscriptions
References