mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: English locale with international date formats
Makes en_US the new default locale
This commit is contained in:
@@ -221,7 +221,7 @@ module Jobs
|
||||
RailsMultisite::ConnectionManagement.with_connection(db) do
|
||||
job_instrumenter = JobInstrumenter.new(job_class: self.class, opts: opts, db: db, jid: jid)
|
||||
begin
|
||||
I18n.locale = SiteSetting.default_locale || "en"
|
||||
I18n.locale = SiteSetting.default_locale || SiteSettings::DefaultsProvider::DEFAULT_LOCALE
|
||||
I18n.ensure_all_loaded!
|
||||
begin
|
||||
logster_env = {}
|
||||
|
||||
Reference in New Issue
Block a user