aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-12-22 15:31:39 +0000
committerMelanie Thielker2008-12-22 15:31:39 +0000
commit5929d2a47c879d6bb53263732141c2788f80a6e2 (patch)
treef2732bb7179462d84d31888b73cdb8ef19bc11ec /OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs
parentFix the error i got sidetracked from :/ (diff)
downloadopensim-SC-5929d2a47c879d6bb53263732141c2788f80a6e2.zip
opensim-SC-5929d2a47c879d6bb53263732141c2788f80a6e2.tar.gz
opensim-SC-5929d2a47c879d6bb53263732141c2788f80a6e2.tar.bz2
opensim-SC-5929d2a47c879d6bb53263732141c2788f80a6e2.tar.xz
Fix date format of the birthdates to conform to what the client expects
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs3
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
28using System; 28using System;
29using System.Globalization;
29using System.Reflection; 30using System.Reflection;
30using OpenMetaverse; 31using OpenMetaverse;
31using log4net; 32using 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 }