Skip to content

Instantly share code, notes, and snippets.

@scdoshi
scdoshi / timestamp.py
Created July 24, 2012 22:38 — forked from robcowie/timestamp.py
Insert date and time stamps in Sublime Text 2
# -*- coding: utf-8 -*-
from datetime import datetime
import sublime_plugin
class TimestampCommand(sublime_plugin.EventListener):
"""Expand `isoD`, `now`, `datetime`, `utcnow`, `utcdatetime`,
`date` and `time`
"""