minor: formatting changes to top of LLLoginResponse.SetDefaultValues(), chiefly some break up of the long line.
parent
0e3053e4c9
commit
cbe889e10b
|
@ -350,6 +350,7 @@ namespace OpenSim.Services.LLLoginService
|
||||||
private void SetDefaultValues()
|
private void SetDefaultValues()
|
||||||
{
|
{
|
||||||
TimeZoneInfo gridTimeZone;
|
TimeZoneInfo gridTimeZone;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// First try to fetch DST from Pacific Standard Time, because this is
|
// First try to fetch DST from Pacific Standard Time, because this is
|
||||||
|
@ -359,9 +360,13 @@ namespace OpenSim.Services.LLLoginService
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
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);
|
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);
|
||||||
|
|
||||||
gridTimeZone = TimeZoneInfo.Local;
|
gridTimeZone = TimeZoneInfo.Local;
|
||||||
}
|
}
|
||||||
|
|
||||||
DST = gridTimeZone.IsDaylightSavingTime(DateTime.Now) ? "Y" : "N";
|
DST = gridTimeZone.IsDaylightSavingTime(DateTime.Now) ? "Y" : "N";
|
||||||
|
|
||||||
StipendSinceLogin = "N";
|
StipendSinceLogin = "N";
|
||||||
|
|
Loading…
Reference in New Issue