Skip to content

Instantly share code, notes, and snippets.

View colinfrei's full-sized avatar

Colin Frei colinfrei

  • Liip
  • Switzerland
View GitHub Profile
@colinfrei
colinfrei / process.py
Last active September 24, 2018 22:00 — forked from jamesstout/process.py
always use the local timezone
# -*- coding: utf-8 -*-
import alfred
import calendar
import time
import math
from delorean import now, parse, epoch
# global var to see if user
# has a time offset