MDL-31193 display the correct and translated token valid until date
This commit is contained in:
+1
-1
@@ -7544,7 +7544,7 @@ class admin_setting_managewebservicetokens extends admin_setting {
|
||||
|
||||
$validuntil = '';
|
||||
if (!empty($token->validuntil)) {
|
||||
$validuntil = date("F j, Y"); //TODO: language support (look for moodle function)
|
||||
$validuntil = userdate($token->validuntil, get_string('strftimedatetime', 'langconfig'));
|
||||
}
|
||||
|
||||
$iprestriction = '';
|
||||
|
||||
Reference in New Issue
Block a user