Merge pull request #2474 from mlorb/ml-sci-4450-v2

Change default date in preferences [SCI-4450]
This commit is contained in:
mlorb 2020-03-17 16:17:21 +01:00 committed by GitHub
commit 6f0e2fc541
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@
<%= select_tag "date-format-input-field",
options_for_select(
Constants::SUPPORTED_DATE_FORMATS.uniq.map{ |df|
["#{l(Time.new(2014, 11, 6), format: :full_date, date_format: df)}", df]
["#{l(Time.new(2019, 11, 25), format: :full_date, date_format: df)}", df]
},
@user.settings[:date_format]
),{