Skip to content

Commit

Permalink
Merge pull request git-cola#800 from alex-gulyas/master
Browse files Browse the repository at this point in the history
* alex-gulyas/master:
  app: change date/time format in log widget

Signed-off-by: David Aguilar <davvid@gmail.com>
  • Loading branch information
davvid committed Apr 14, 2018
2 parents 33e39eb + 7c73ec2 commit 6f63adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cola/widgets/log.py
Expand Up @@ -53,7 +53,7 @@ def append(self, msg):
cursor.movePosition(cursor.End)
text = self.output_text
# NOTE: the ': ' colon-SP-SP suffix in used by the syntax highlighter
prefix = core.decode(time.strftime('%I:%M %p %Ss %Y-%m-%d: '))
prefix = core.decode(time.strftime('%x %X: '))
for line in msg.splitlines():
cursor.insertText(prefix + line + '\n')
cursor.movePosition(cursor.End)
Expand Down

0 comments on commit 6f63adb

Please sign in to comment.