Commit 542e6e0d authored by Dries's avatar Dries
Browse files

- Patch #33102 by Kobus et al: show dates properly.

parent 56513571
......@@ -282,7 +282,9 @@ function profile_view_field($user, $field) {
'j' => $value['day'],
'm' => sprintf('%02d', $value['month']),
'M' => map_month($value['month']),
'Y' => $value['year']);
'Y' => $value['year'],
'H:i' => null,
'g:ia' => null);
return strtr($format, $replace);
case 'list':
$values = split("[,\n\r]", $value);
......
......@@ -282,7 +282,9 @@ function profile_view_field($user, $field) {
'j' => $value['day'],
'm' => sprintf('%02d', $value['month']),
'M' => map_month($value['month']),
'Y' => $value['year']);
'Y' => $value['year'],
'H:i' => null,
'g:ia' => null);
return strtr($format, $replace);
case 'list':
$values = split("[,\n\r]", $value);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment