mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 21:21:50 +08:00
Change default date in preferences
This commit is contained in:
parent
2a2e479cd3
commit
ea755eaea7
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