From 7acec9860de67a7a5f4fa1b121b5d6469f52ab3f Mon Sep 17 00:00:00 2001 From: Homer Horwitz Date: Sat, 4 Apr 2009 14:26:35 +0000 Subject: DST setting wasn't transferred to client, leading to wrong time display. --- OpenSim/Framework/Communications/Services/LoginResponse.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim') 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 private void SetDefaultValues() { - DST = "N"; + DST = TimeZone.CurrentTimeZone.IsDaylightSavingTime(DateTime.Now) ? "Y" : "N"; StipendSinceLogin = "N"; Gendered = "Y"; EverLoggedIn = "Y"; -- cgit v1.1