Skip to content

Instantly share code, notes, and snippets.

View merriam's full-sized avatar

Charles Merriam merriam

View GitHub Profile
@merriam
merriam / timestamp.py
Last active December 19, 2015 02:19 — forked from reima/timestamp.py
# -*- coding: utf-8 -*-
from datetime import datetime
import sublime_plugin
# Adding too much documentation:
# 1. The original Gist had %M instead of %m in the strftime() class. %M means minute,
# while %m means month as a decimal.
# 2. To install this:
# Sublime's menu Tools -> New Plugin...,