diff options
author | Melanie Thielker | 2008-12-22 15:31:39 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-12-22 15:31:39 +0000 |
commit | 5929d2a47c879d6bb53263732141c2788f80a6e2 (patch) | |
tree | f2732bb7179462d84d31888b73cdb8ef19bc11ec /OpenSim/Region | |
parent | Fix the error i got sidetracked from :/ (diff) | |
download | opensim-SC_OLD-5929d2a47c879d6bb53263732141c2788f80a6e2.zip opensim-SC_OLD-5929d2a47c879d6bb53263732141c2788f80a6e2.tar.gz opensim-SC_OLD-5929d2a47c879d6bb53263732141c2788f80a6e2.tar.bz2 opensim-SC_OLD-5929d2a47c879d6bb53263732141c2788f80a6e2.tar.xz |
Fix date format of the birthdates to conform to what the client expects
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Globalization; | ||
29 | using System.Reflection; | 30 | using System.Reflection; |
30 | using OpenMetaverse; | 31 | using OpenMetaverse; |
31 | using log4net; | 32 | using log4net; |
@@ -108,7 +109,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Profiles | |||
108 | } | 109 | } |
109 | 110 | ||
110 | remoteClient.SendAvatarProperties(profile.ID, profile.AboutText, | 111 | remoteClient.SendAvatarProperties(profile.ID, profile.AboutText, |
111 | Util.ToDateTime(profile.Created).ToString(), | 112 | Util.ToDateTime(profile.Created).ToString("M/d/yyyy", CultureInfo.InvariantCulture), |
112 | charterMember, profile.FirstLifeAboutText, (uint)(profile.UserFlags & 0xff), | 113 | charterMember, profile.FirstLifeAboutText, (uint)(profile.UserFlags & 0xff), |
113 | profile.FirstLifeImage, profile.Image, String.Empty, profile.Partner); | 114 | profile.FirstLifeImage, profile.Image, String.Empty, profile.Partner); |
114 | } | 115 | } |