Issue #11 - Date time formating.

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

No files matched your search

+2 -2
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
);
+1 -1
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,