Skip to content

Instantly share code, notes, and snippets.

Avatar

Charles Merriam merriam

View GitHub Profile
View 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...,
You can’t perform that action at this time.