Add dashes to the timestamp hotkey.
This commit is contained in:
parent
863cb40709
commit
cb53a8495a
1 changed files with 1 additions and 1 deletions
|
@ -7,5 +7,5 @@ import sublime, sublime_plugin
|
|||
|
||||
class TimestampCommand(sublime_plugin.TextCommand):
|
||||
def run(self, edit):
|
||||
timestamp = "%s" % (datetime.datetime.now().strftime("%Y %m %d"))
|
||||
timestamp = "%s" % (datetime.datetime.now().strftime("%Y-%m-%d"))
|
||||
self.view.insert(edit, self.view.sel()[0].begin(), timestamp)
|
||||
|
|
Loading…
Reference in a new issue