Consider user's timezone for default issue start date
Contributed by Jan Schulz-Hofen
This commit is contained in:
parent
bf14f35223
commit
d62a4f1d28
|
@ -286,7 +286,7 @@ private
|
|||
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?
|
||||
|
|
Loading…
Reference in New Issue