Changeset 9340


Ignore:
Timestamp:
15 Oct 2012, 11:04:40 (12 years ago)
Author:
Henrik Bettermann
Message:

Show file modification time not creation time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/datacenter.py

    r9217 r9340  
    330330        """Get a human readable datetime representation.
    331331        """
    332         date = datetime.fromtimestamp(os.path.getctime(self.context))
     332        date = datetime.fromtimestamp(os.path.getmtime(self.context))
    333333        return date.strftime("%Y-%m-%d %H:%M:%S")
    334334
     
    336336        """Get a (machine readable) timestamp.
    337337        """
    338         return os.path.getctime(self.context)
     338        return os.path.getmtime(self.context)
    339339
    340340    def getSize(self):
Note: See TracChangeset for help on using the changeset viewer.