Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

make_release.py won't work for August dates #299

Closed
espeed opened this Issue · 1 comment

2 participants

@espeed

Hi Armin -

I am using your make_release.py script in Bulbs, and the script was breaking when I was trying to make a release today because the parse_date function was replacing the the "st" in August (this may be an issue for other months too):

def parse_date(string):
string = string.replace('th ', ' ').replace('nd ', ' ') \
.replace('rd ', ' ').replace('st ', ' ')
return datetime.strptime(string, '%B %d %Y')

  • James
@mitsuhiko
Owner

Heh. Good point. Will fix that :D That was really just a quick hack as you can see :)

@mitsuhiko mitsuhiko closed this in 505cd66
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.