mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-04 14:44:26 +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"
|
disabled="disabled"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
type="text"
|
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]"
|
name="fake_user[settings][time_zone]"
|
||||||
id="fake_user_settings_date_format">
|
id="fake_user_settings_date_format">
|
||||||
<span class="input-group-btn">
|
<span class="input-group-btn">
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
<h4><%=t "users.settings.account.preferences.edit.date_format_title" %></h4>
|
<h4><%=t "users.settings.account.preferences.edit.date_format_title" %></h4>
|
||||||
<div class="form-group" style="max-width: 500px;">
|
<div class="form-group" style="max-width: 500px;">
|
||||||
<%= f.select :date_format, Constants::SUPPORTED_DATE_FORMATS.collect { |df|
|
<%= 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' } %>
|
}, {}, { class: 'form-control selectpicker', 'data-role': 'clear' } %>
|
||||||
<small><%= t("users.settings.account.preferences.edit.date_format_sublabel") %></small>
|
<small><%= t("users.settings.account.preferences.edit.date_format_sublabel") %></small>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue