diff options
author | Homer Horwitz | 2009-04-04 14:26:35 +0000 |
---|---|---|
committer | Homer Horwitz | 2009-04-04 14:26:35 +0000 |
commit | 7acec9860de67a7a5f4fa1b121b5d6469f52ab3f (patch) | |
tree | bf7f3dd7bef35f5cc6300b82ca2dba0a7787ceec | |
parent | Remove some Mono warnings. (diff) | |
download | opensim-SC_OLD-7acec9860de67a7a5f4fa1b121b5d6469f52ab3f.zip opensim-SC_OLD-7acec9860de67a7a5f4fa1b121b5d6469f52ab3f.tar.gz opensim-SC_OLD-7acec9860de67a7a5f4fa1b121b5d6469f52ab3f.tar.bz2 opensim-SC_OLD-7acec9860de67a7a5f4fa1b121b5d6469f52ab3f.tar.xz |
DST setting wasn't transferred to client, leading to wrong time display.
-rw-r--r-- | OpenSim/Framework/Communications/Services/LoginResponse.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Services/LoginResponse.cs b/OpenSim/Framework/Communications/Services/LoginResponse.cs index c81febd..d91bf84 100644 --- a/OpenSim/Framework/Communications/Services/LoginResponse.cs +++ b/OpenSim/Framework/Communications/Services/LoginResponse.cs | |||
@@ -136,7 +136,7 @@ namespace OpenSim.Framework.Communications.Services | |||
136 | 136 | ||
137 | private void SetDefaultValues() | 137 | private void SetDefaultValues() |
138 | { | 138 | { |
139 | DST = "N"; | 139 | DST = TimeZone.CurrentTimeZone.IsDaylightSavingTime(DateTime.Now) ? "Y" : "N"; |
140 | StipendSinceLogin = "N"; | 140 | StipendSinceLogin = "N"; |
141 | Gendered = "Y"; | 141 | Gendered = "Y"; |
142 | EverLoggedIn = "Y"; | 142 | EverLoggedIn = "Y"; |