mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 19:51:01 +08:00
Change sample date in date format settings [SCI-2907]
This commit is contained in:
parent
23f8602872
commit
5ea5b76d39
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@
|
|||
disabled="disabled"
|
||||
autocomplete="off"
|
||||
type="text"
|
||||
value="<%= l(Time.new(2014, 5, 16), format: :full_date) %>"
|
||||
value="<%= l(Time.new(2014, 11, 6), format: :full_date) %>"
|
||||
name="fake_user[settings][time_zone]"
|
||||
id="fake_user_settings_date_format">
|
||||
<span class="input-group-btn">
|
||||
|
@ -80,7 +80,7 @@
|
|||
<h4><%=t "users.settings.account.preferences.edit.date_format_title" %></h4>
|
||||
<div class="form-group" style="max-width: 500px;">
|
||||
<%= f.select :date_format, Constants::SUPPORTED_DATE_FORMATS.collect { |df|
|
||||
["#{l(Time.new(2014, 5, 16), format: :full_date, date_format: df)}", df]
|
||||
["#{l(Time.new(2014, 11, 6), format: :full_date, date_format: df)}", df]
|
||||
}, {}, { class: 'form-control selectpicker', 'data-role': 'clear' } %>
|
||||
<small><%= t("users.settings.account.preferences.edit.date_format_sublabel") %></small>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue