Feature #6470 ยป start_date_in_user_timezone.patch
| app/controllers/issues_controller.rb | ||
|---|---|---|
|
render_error l(:error_no_tracker_in_project)
|
||
|
return false
|
||
|
end
|
||
|
@issue.start_date ||= Date.today
|
||
|
@issue.start_date ||= User.current.today
|
||
|
if params[:issue].is_a?(Hash)
|
||
|
@issue.safe_attributes = params[:issue]
|
||
|
if User.current.allowed_to?(:add_issue_watchers, @project) && @issue.new_record?
|
||