Commit 50bff7ce authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

update time stamp format

parent 10ac6540
...@@ -283,7 +283,7 @@ class CsstMsDataManager: ...@@ -283,7 +283,7 @@ class CsstMsDataManager:
def write_stamp(self): def write_stamp(self):
if self.stamps is not None and self.stamps != "": if self.stamps is not None and self.stamps != "":
with open(self.l1_file(self.stamps), "a+") as f: with open(self.l1_file(self.stamps), "a+") as f:
f.write(f"{time.Time.now().isot.replace('.', ',')}+0800\n") f.write(f"{time.Time.now().isot}+08:00\n")
@staticmethod @staticmethod
def now(): def now():
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment