Issue #11 - Date time formating.

This commit is contained in:
Daniel Thee Roperto
2016-09-12 14:05:45 +10:00
parent ee771daecf
commit 928b72ba08
3 changed files with 4 additions and 8 deletions

View File

@@ -144,8 +144,8 @@ class outage {
'{{stop}}'
],
[
userdate($this->starttime, get_string('strftimedatetimeshort')),
userdate($this->stoptime, get_string('strftimedatetimeshort')),
userdate($this->starttime, get_string('datetimeformat', 'auth_outage')),
userdate($this->stoptime, get_string('datetimeformat', 'auth_outage')),
],
$str
);

View File

@@ -101,7 +101,7 @@ class manage extends \flexible_table {
$this->add_data([
format_time($outage->get_warning_duration()),
userdate($outage->starttime, get_string('tablerowstarts', 'auth_outage')),
userdate($outage->starttime, get_string('datetimeformat', 'auth_outage')),
format_time($outage->get_duration()),
$title,
$buttons,