linux likes other tz names

0.9.1.0-post-fixes
UbitUmarov 2019-04-08 14:04:02 +01:00
parent b104934a25
commit cadcf412ec
1 changed files with 11 additions and 0 deletions

View File

@ -211,6 +211,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{ {
PSTTimeZone = null; PSTTimeZone = null;
} }
if(PSTTimeZone == null)
{
try
{
PSTTimeZone = TimeZoneInfo.FindSystemTimeZoneById("America/Los_Angeles");
}
catch
{
PSTTimeZone = null;
}
}
} }
public override Object InitializeLifetimeService() public override Object InitializeLifetimeService()