MDL-40109 format_weeks: Removing extra space

This commit is contained in:
David Monllao 2013-06-10 10:39:37 +08:00
parent b3be471f52
commit af248633f5

View File

@ -64,7 +64,7 @@ class format_weeks extends format_base {
// We subtract 24 hours for display purposes.
$dates->end = ($dates->end - 86400);
$dateformat = ' '.get_string('strftimedateshort');
$dateformat = get_string('strftimedateshort');
$weekday = userdate($dates->start, $dateformat);
$endweekday = userdate($dates->end, $dateformat);
return $weekday.' - '.$endweekday;