Private GIT

Skip to content
Snippets Groups Projects
Commit 20a56d6e authored by Alexandre Beloin's avatar Alexandre Beloin
Browse files

Merge pull request #1321 from abeloin/patch-typo_us_us

Fix typo for locale from us_US to en_US Part 2
parents f9a27013 b37d79be
No related branches found
No related tags found
No related merge requests found
...@@ -210,7 +210,7 @@ class sbdatetime(datetime.datetime): ...@@ -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): ...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment