mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #43689
[Bug 1714408] A change has been merged
Reviewed: https://reviews.mahara.org/7968
Committed: https://git.mahara.org/mahara/mahara/commit/f1182d0b6d5d3b74bcba4d30f80e7c43dc0e5f86
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: master
commit f1182d0b6d5d3b74bcba4d30f80e7c43dc0e5f86
Author: Rebecca Blundell <rebecca.blundell@xxxxxxxxxxxxxxx>
Date: Fri Sep 1 15:31:02 2017 +1200
Bug 1714408: Fix whitespace error in date format
Remove default date format and require it to be passed in.
Reinstate if statement which now runs if the date format is not found
in the langconfig.php file.
Also fix format in the modified_date.feature file so the test works
for single digit dates.
Change-Id: I532e8db518a34e803c47d9192fd9cc74231d3999
--
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/1714408
Title:
behat date step causes whitespace error in single digit dates
Status in Mahara:
Fix Committed
Bug description:
There is a bug in the patch for Bug 1711277 - Add a step to check dates.
If the date is a single digit, e.g. today being 1 September, the date comes out as " 1 September 2017", when "01 September 2017" is what is being looked for on the page. This can be fixed by trimming the result.
I've also noticed that my i_should_see_date() function never runs the
else statement as I'm passing in a default. I should clean this up,
either by passing in null as a default format or by removing the else
altogether.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1714408/+subscriptions
References