Merge pull request #1956 from dstftw/master
authorPhilipp Hagemeister <phihag@phihag.de>
Fri, 13 Dec 2013 15:41:34 +0000 (07:41 -0800)
committerPhilipp Hagemeister <phihag@phihag.de>
Fri, 13 Dec 2013 15:41:34 +0000 (07:41 -0800)
Fix typo in month name

1  2 
youtube_dl/utils.py

diff --combined youtube_dl/utils.py
index 4593488ce5e30bb69a19c56cc4c84a581d3d17f6,d9bf6c24c39d4d821025d510f8f14f2d66ba652b..4e8a84a56a5b717db73e986c91c2621920fcba47
@@@ -1051,14 -1051,9 +1051,14 @@@ 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
      except ValueError:
          return None
 +
 +
 +def fix_xml_all_ampersand(xml_str):
 +    """Replace all the '&' by '&amp;' in XML"""
 +    return xml_str.replace(u'&', u'&amp;')