aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/LLLoginService/LLLoginResponse.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/LLLoginService/LLLoginResponse.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginResponse.cs b/OpenSim/Services/LLLoginService/LLLoginResponse.cs
index 8fdcf4e..10a44ed 100644
--- a/OpenSim/Services/LLLoginService/LLLoginResponse.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginResponse.cs
@@ -350,6 +350,7 @@ namespace OpenSim.Services.LLLoginService
350 private void SetDefaultValues() 350 private void SetDefaultValues()
351 { 351 {
352 TimeZoneInfo gridTimeZone; 352 TimeZoneInfo gridTimeZone;
353
353 try 354 try
354 { 355 {
355 // First try to fetch DST from Pacific Standard Time, because this is 356 // First try to fetch DST from Pacific Standard Time, because this is
@@ -359,9 +360,13 @@ namespace OpenSim.Services.LLLoginService
359 } 360 }
360 catch (Exception e) 361 catch (Exception e)
361 { 362 {
362 m_log.WarnFormat("[TIMEZONE]: {0} Falling back to system time. System time should be set to Pacific Standard Time to provide the expected time", e.Message); 363 m_log.WarnFormat(
364 "[TIMEZONE]: {0} Falling back to system time. System time should be set to Pacific Standard Time to provide the expected time",
365 e.Message);
366
363 gridTimeZone = TimeZoneInfo.Local; 367 gridTimeZone = TimeZoneInfo.Local;
364 } 368 }
369
365 DST = gridTimeZone.IsDaylightSavingTime(DateTime.Now) ? "Y" : "N"; 370 DST = gridTimeZone.IsDaylightSavingTime(DateTime.Now) ? "Y" : "N";
366 371
367 StipendSinceLogin = "N"; 372 StipendSinceLogin = "N";