Fix date format of the birthdates to conform to what the client expects

0.6.2-post-fixes
Melanie Thielker 2008-12-22 15:31:39 +00:00
parent a7a0b5e1ae
commit 5929d2a47c
1 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@
*/ */
using System; using System;
using System.Globalization;
using System.Reflection; using System.Reflection;
using OpenMetaverse; using OpenMetaverse;
using log4net; using log4net;
@ -108,7 +109,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Profiles
} }
remoteClient.SendAvatarProperties(profile.ID, profile.AboutText, 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), charterMember, profile.FirstLifeAboutText, (uint)(profile.UserFlags & 0xff),
profile.FirstLifeImage, profile.Image, String.Empty, profile.Partner); profile.FirstLifeImage, profile.Image, String.Empty, profile.Partner);
} }