diff --git a/config/initializers/time_formats.rb b/config/initializers/time_formats.rb deleted file mode 100644 index 7f2dfc8ef..000000000 --- a/config/initializers/time_formats.rb +++ /dev/null @@ -1,5 +0,0 @@ -# frozen_string_literal: true - -Time::DATE_FORMATS[:pretty] = ->(time) { time.strftime("%a, %b %e at %l:%M") + time.strftime("%p").downcase } -Date::DATE_FORMATS[:default] = "%d %b %Y" -Time::DATE_FORMATS[:default] = "%a, %b %e at %l:%M %p" diff --git a/config/locales/koi.en.yml b/config/locales/koi.en.yml index 4d9717334..c5abfbe3f 100644 --- a/config/locales/koi.en.yml +++ b/config/locales/koi.en.yml @@ -1,11 +1,9 @@ en: time: formats: - default: "%Y-%m-%dT%H:%M:%S.%L%z" display: "%e %B %Y, %l:%M%P" date: formats: - default: "%Y-%m-%d" display: "%e %B %Y" koi: labels: