From 5929d2a47c879d6bb53263732141c2788f80a6e2 Mon Sep 17 00:00:00 2001
From: Melanie Thielker
Date: Mon, 22 Dec 2008 15:31:39 +0000
Subject: Fix date format of the birthdates to conform to what the client
 expects

---
 .../Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'OpenSim')

diff --git a/OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs
index b1cf802..a9415ce 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs
@@ -26,6 +26,7 @@
  */
 
 using System;
+using System.Globalization;
 using System.Reflection;
 using OpenMetaverse;
 using log4net;
@@ -108,7 +109,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Profiles
                 }
 
                 remoteClient.SendAvatarProperties(profile.ID, profile.AboutText,
-                                                  Util.ToDateTime(profile.Created).ToString(),
+                                                  Util.ToDateTime(profile.Created).ToString("M/d/yyyy", CultureInfo.InvariantCulture),
                                                   charterMember, profile.FirstLifeAboutText, (uint)(profile.UserFlags & 0xff),
                                                   profile.FirstLifeImage, profile.Image, String.Empty, profile.Partner);
             }
-- 
cgit v1.1