Project

General

Profile

Date format on new issue form

Added by Vitor Espindola almost 15 years ago

Hi!

When i change default date format of my redmine installation, it's not update the format used in issues create/update form.

I looked at source code and find that:

  def calendar_for(field_id)
    include_calendar_headers_tags
    image_tag("calendar.png", {:id => "#{field_id}_trigger",:class => "calendar-trigger"}) +
    javascript_tag("Calendar.setup({inputField : '#{field_id}', ifFormat : '%Y-%m-%d', button : '#{field_id}_trigger' });")
  end

the date format is hardcoded on this function.


Replies (1)

RE: Date format on new issue form - Added by Mischa The Evil almost 15 years ago

This has been reported as issue #668.

Mischa.

    (1-1/1)