Project

General

Profile

Feature #6470 ยป start_date_in_user_timezone.patch

Jan from Planio www.plan.io, 2011-07-19 00:51

View differences:

app/controllers/issues_controller.rb
340 340
      render_error l(:error_no_tracker_in_project)
341 341
      return false
342 342
    end
343
    @issue.start_date ||= Date.today
343
    @issue.start_date ||= User.current.today
344 344
    if params[:issue].is_a?(Hash)
345 345
      @issue.safe_attributes = params[:issue]
346 346
      if User.current.allowed_to?(:add_issue_watchers, @project) && @issue.new_record?
    (1-1/1)