54 time.strftime('%Y'), |
54 time.strftime('%Y'), |
55 self.__project.pdata["AUTHOR"], |
55 self.__project.pdata["AUTHOR"], |
56 self.__project.pdata["EMAIL"]) |
56 self.__project.pdata["EMAIL"]) |
57 } |
57 } |
58 |
58 |
59 # TODO: replace 'XMLTimestamp' by 'Timestamp' |
59 if Preferences.getProject("TimestampFile"): |
60 if Preferences.getProject("XMLTimestamp"): |
|
61 projectDict["header"]["saved"] = ( |
60 projectDict["header"]["saved"] = ( |
62 time.strftime('%Y-%m-%d, %H:%M:%S') |
61 time.strftime('%Y-%m-%d, %H:%M:%S') |
63 ) |
62 ) |
64 |
63 |
65 projectDict["project"] = self.__project.pdata |
64 projectDict["project"] = self.__project.pdata |