mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
minor change to unixtime conversion
This commit is contained in:
@@ -12800,7 +12800,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return String.Empty;
|
||||
}
|
||||
|
||||
DateTime date = new DateTime(1970, 1, 1, 0, 0, 0).AddSeconds(item.CreationDate);
|
||||
DateTime date = Util.ToDateTime(item.CreationDate);
|
||||
return date.ToString("yyyy-MM-ddTHH:mm:ssZ");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user