diff options
Diffstat (limited to 'OpenSim/Framework/RegionSettings.cs')
-rw-r--r-- | OpenSim/Framework/RegionSettings.cs | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/OpenSim/Framework/RegionSettings.cs b/OpenSim/Framework/RegionSettings.cs index c05cc10..8d1212b 100644 --- a/OpenSim/Framework/RegionSettings.cs +++ b/OpenSim/Framework/RegionSettings.cs | |||
@@ -561,20 +561,31 @@ namespace OpenSim.Framework | |||
561 | set { m_Covenant = value; } | 561 | set { m_Covenant = value; } |
562 | } | 562 | } |
563 | 563 | ||
564 | private String m_LoadedCreationDate; | 564 | private int m_LoadedCreationDateTime; |
565 | public int LoadedCreationDateTime | ||
566 | { | ||
567 | get { return m_LoadedCreationDateTime; } | ||
568 | set { m_LoadedCreationDateTime = value; } | ||
569 | } | ||
565 | 570 | ||
566 | public String LoadedCreationDate | 571 | public String LoadedCreationDate |
567 | { | 572 | { |
568 | get { return m_LoadedCreationDate; } | 573 | get |
569 | set { m_LoadedCreationDate = value; } | 574 | { |
575 | TimeSpan ts = new TimeSpan(0, 0, LoadedCreationDateTime); | ||
576 | DateTime stamp = new DateTime(1970, 1, 1) + ts; | ||
577 | return stamp.ToLongDateString(); | ||
578 | } | ||
570 | } | 579 | } |
571 | 580 | ||
572 | private String m_LoadedCreationTime; | ||
573 | |||
574 | public String LoadedCreationTime | 581 | public String LoadedCreationTime |
575 | { | 582 | { |
576 | get { return m_LoadedCreationTime; } | 583 | get |
577 | set { m_LoadedCreationTime = value; } | 584 | { |
585 | TimeSpan ts = new TimeSpan(0, 0, LoadedCreationDateTime); | ||
586 | DateTime stamp = new DateTime(1970, 1, 1) + ts; | ||
587 | return stamp.ToLongTimeString(); | ||
588 | } | ||
578 | } | 589 | } |
579 | 590 | ||
580 | private String m_LoadedCreationID; | 591 | private String m_LoadedCreationID; |