replace deprecated strftime function for Tōtara 17

This commit is contained in:
Sasha Anastasi
2023-05-29 08:56:59 +12:00
parent 5cebaf9227
commit e1a8dbc59f

View File

@@ -129,7 +129,7 @@ class waitforit extends clibase {
return;
}
$time = strftime('%F %T %Z');
$time = \totara_core\strftime::format('%F %T %Z');
printf("[%s] %s\n", $time, $message);
}