Fix typo in month name
This commit is contained in:
parent
49929a20a7
commit
dadb8184e4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue