diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 02786600..bb43082f 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -170,9 +170,13 @@ module ApplicationHelper standard_format = current_user.prefs.date_format translations = [ ['%m', 'mm'], + ['%b', 'M'], + ['%B', 'MM'], ['%d', 'dd'], - ['%Y', 'yy'], - ['%y', 'y'] + ['%a', 'D'], + ['%A', 'DD'], + ['%y', 'y'], + ['%Y', 'yy'] ] translations.inject(standard_format) do |str, translation| str.gsub(*translation)