mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-04 06:36:27 +08:00
Merge pull request #2474 from mlorb/ml-sci-4450-v2
Change default date in preferences [SCI-4450]
This commit is contained in:
commit
6f0e2fc541
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
),{
|
||||
|
|
Loading…
Reference in a new issue