Skip to content

Commit e869f88

Browse files
committed
ci by lizherui
1 parent b57598a commit e869f88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/repository.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def commit(self, msg, ref='HEAD'):
101101
commit_time = int(time.time())
102102

103103
#TO FIX
104-
commit_timezone = '+0800'
104+
commit_timezone = time.strftime("%z", time.gmtime())
105105

106106
commit = Commit(self.workspace, tree_sha1=cur_tree.sha1, parent_sha1=parent_sha1, name=committer_name, email=committer_email, \
107107
timestamp=commit_time, timezone=commit_timezone, msg=msg)

0 commit comments

Comments
 (0)