mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-17 05:48:43 +02:00
Issue #11 - Date time formating.
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user