Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
OHR Support
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
97
Issues
97
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
OHR Support
Commits
d62a4f1d
Commit
d62a4f1d
authored
Jul 25, 2011
by
Holger Just
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Consider user's timezone for default issue start date
Contributed by Jan Schulz-Hofen
parent
bf14f352
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
issues_controller.rb
app/controllers/issues_controller.rb
+1
-1
No files found.
app/controllers/issues_controller.rb
View file @
d62a4f1d
...
...
@@ -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?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment