1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-04 15:12:23 -05:00

Merge pull request #1321 from abeloin/patch-typo_us_us

Fix typo for locale from us_US to en_US Part 2
This commit is contained in:
Alexandre Beloin 2015-02-15 19:03:54 -05:00
commit 20a56d6edf

View File

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