aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index 4a74c15..de7da0e 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -211,6 +211,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
211 { 211 {
212 PSTTimeZone = null; 212 PSTTimeZone = null;
213 } 213 }
214 if(PSTTimeZone == null)
215 {
216 try
217 {
218 PSTTimeZone = TimeZoneInfo.FindSystemTimeZoneById("America/Los_Angeles");
219 }
220 catch
221 {
222 PSTTimeZone = null;
223 }
224 }
214 } 225 }
215 226
216 public override Object InitializeLifetimeService() 227 public override Object InitializeLifetimeService()