diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-07-14 13:29:20 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-07-14 13:29:20 +0000 |
commit | 9c38458f8bd259c7db2cb6a8fda7dcbcbf3f5540 (patch) | |
tree | 17684036260735f1ac0e360c57e3a1319195d6bb /app/views/settings | |
parent | 98cf33070fc28e8986aaf960923f58f8da15b9d4 (diff) | |
download | redmine-9c38458f8bd259c7db2cb6a8fda7dcbcbf3f5540.tar.gz redmine-9c38458f8bd259c7db2cb6a8fda7dcbcbf3f5540.zip |
Added an option to choose the date format: language based (as defined in each lang file) or ISO 8601 (YYYY-MM-DD).
This option can be set in Admin -> Settings.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@585 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/settings')
-rw-r--r-- | app/views/settings/edit.rhtml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/settings/edit.rhtml b/app/views/settings/edit.rhtml index ad068209c..086484935 100644 --- a/app/views/settings/edit.rhtml +++ b/app/views/settings/edit.rhtml @@ -15,6 +15,9 @@ <p><label><%= l(:setting_default_language) %></label> <%= select_tag 'settings[default_language]', options_for_select( lang_options_for_select(false), Setting.default_language) %></p> +<p><label><%= l(:setting_date_format) %></label> +<%= select_tag 'settings[date_format]', options_for_select( [[l(:label_language_based), '0'], ['ISO 8601 (YYYY-MM-DD)', '1']], Setting.date_format) %></p> + <p><label><%= l(:setting_attachment_max_size) %></label> <%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB</p> |