replace deprecated strftime function for Tōtara 17

This commit is contained in:
Sasha Anastasi committed 2023-05-29 08:56:59 +12:00
1 parent 5cebaf9227
commit e1a8dbc59f
1 file changed
+1 -1
+1 -1
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);
}