1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Fix typo for locale from us_US to en_US Part 2

This commit is contained in:
Alexandre Beloin 2015-02-15 19:03:13 -05:00
parent f9a27013be
commit b37d79be39

View File

@ -210,7 +210,7 @@ class sbdatetime(datetime.datetime):
strd = dt.strftime(sickbeard.DATE_PRESET) strd = dt.strftime(sickbeard.DATE_PRESET)
try: try:
if sbdatetime.has_locale: if sbdatetime.has_locale:
locale.setlocale(locale.LC_TIME, 'us_US') locale.setlocale(locale.LC_TIME, 'en_US')
except: except:
sbdatetime.has_locale = False sbdatetime.has_locale = False
if t_preset is not None: if t_preset is not None:
@ -226,7 +226,7 @@ class sbdatetime(datetime.datetime):
strd = self.strftime(sickbeard.DATE_PRESET) strd = self.strftime(sickbeard.DATE_PRESET)
try: try:
if sbdatetime.has_locale: if sbdatetime.has_locale:
locale.setlocale(locale.LC_TIME, 'us_US') locale.setlocale(locale.LC_TIME, 'en_US')
except: except:
sbdatetime.has_locale = False sbdatetime.has_locale = False
if t_preset is not None: if t_preset is not None: