1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-24 04:56:55 +01:00

Fix typo in month name

This commit is contained in:
dst 2013-12-13 22:27:37 +07:00
parent 49929a20a7
commit dadb8184e4

View File

@ -1051,7 +1051,7 @@ def month_by_name(name):
""" Return the number of a month by (locale-independently) English name """
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']
try:
return ENGLISH_NAMES.index(name) + 1