summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/profile.module4
-rw-r--r--modules/profile/profile.module4
2 files changed, 6 insertions, 2 deletions
diff --git a/modules/profile.module b/modules/profile.module
index 678bbcadd..254c3cf88 100644
--- a/modules/profile.module
+++ b/modules/profile.module
@@ -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);
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index 678bbcadd..254c3cf88 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -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);