mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 02:52:20 -05:00
Fix typo for locale from us_US to en_US Part 2
This commit is contained in:
parent
f9a27013be
commit
b37d79be39
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user