diff options
author | Jeroen Nijhof <jeroen@jeroennijhof.nl> | 2016-01-08 13:22:30 +0100 |
---|---|---|
committer | Jeroen Nijhof <jeroen@jeroennijhof.nl> | 2016-01-08 13:22:30 +0100 |
commit | 2c37ae2f0a7612deb4bf93fb726c98cad60ca0aa (patch) | |
tree | 7672113b2b999e4fe3c8cfa041f187773e3e8534 /config | |
parent | 1695063d15498ce41d3e3f62b7ec88effb9e1eca (diff) | |
parent | 08213ed4f5d35b582f0345d6a825737ced98fd05 (diff) | |
download | gitlab-ce-2c37ae2f0a7612deb4bf93fb726c98cad60ca0aa.tar.gz |
Merge gitlab.com:gitlab-org/gitlab-ce
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/date_time_formats.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/initializers/date_time_formats.rb b/config/initializers/date_time_formats.rb new file mode 100644 index 00000000000..57568203cab --- /dev/null +++ b/config/initializers/date_time_formats.rb @@ -0,0 +1,9 @@ +# :short - 10 Nov +# :medium - Nov 10, 2007 +# :long - November 10, 2007 +Date::DATE_FORMATS[:medium] = '%b %-d, %Y' + +# :short - 18 Jan 06:10 +# :medium - Jan 18, 2007 6:10am +# :long - January 18, 2007 06:10 +Time::DATE_FORMATS[:medium] = '%b %-d, %Y %-I:%M%P' |