mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-40109 format_weeks: Removing extra space
This commit is contained in:
parent
b3be471f52
commit
af248633f5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user