1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-07 11:42:43 +01:00

Merge pull request #1956 from dstftw/master

Fix typo in month name
This commit is contained in:
Philipp Hagemeister 2013-12-13 07:41:34 -08:00
commit 2a203a6cda

View File

@ -1051,7 +1051,7 @@ def month_by_name(name):
""" Return the number of a month by (locale-independently) English name """ """ Return the number of a month by (locale-independently) English name """
ENGLISH_NAMES = [ ENGLISH_NAMES = [
u'Januar', u'February', u'March', u'April', u'May', u'June', u'January', u'February', u'March', u'April', u'May', u'June',
u'July', u'August', u'September', u'October', u'November', u'December'] u'July', u'August', u'September', u'October', u'November', u'December']
try: try:
return ENGLISH_NAMES.index(name) + 1 return ENGLISH_NAMES.index(name) + 1