ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

start_date_in_user_timezone.patch

Jan Schulz-Hofen, 2011-07-18 10:53 pm

Download (567 Bytes)

 
b/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?