eric6/Project/ProjectFile.py

branch
jsonfiles
changeset 8031
ce5858a237d2
parent 8016
e484fc67677e
child 8107
7d3932bde11b
equal deleted inserted replaced
8028:a4f1b68c0737 8031:ce5858a237d2
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

eric ide

mercurial