From 542e6e0d22e612e4c6f7fbb555613e740d55ca99 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Sun, 22 Jan 2006 07:37:17 +0000
Subject: [PATCH] - Patch #33102 by Kobus et al: show dates properly.

---
 modules/profile.module         | 4 +++-
 modules/profile/profile.module | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/modules/profile.module b/modules/profile.module
index 678bbcaddad0..254c3cf880b9 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 678bbcaddad0..254c3cf880b9 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);
-- 
GitLab