Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created June 9, 2017 17:39
Show Gist options
  • Save notmyname/e2b5292bad2891ed4b67f3b80780739a to your computer and use it in GitHub Desktop.
Save notmyname/e2b5292bad2891ed4b67f3b80780739a to your computer and use it in GitHub Desktop.
a tool to find the best day to do a release
from datetime import date
import calendar
my_date = date.today()
today = calendar.day_name[my_date.weekday()]
if today.endswith('y'):
print 'Today is a good day for a release!'
else:
print 'Probably best to wait for a release'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment