##// END OF EJS Templates
Replace Date.today with User.current.today (#22320)....
Replace Date.today with User.current.today (#22320). Depending on the offset between a user's configured timezone and the server timezone, Date.today may be more or less often wrong from the user's perspective, leading to things like issues marked as overdue too early or too late, or yesterday / tomorrow being displayed / selected where 'today' is intended. A test case illustrating the problem with Issue#overdue? is included Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@15379 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r14977:83d4c9c50b05
r14997:ed50d42210ea
Show More
issues_controller_test.rb
0 lines | 168.4 KiB | text/x-ruby
/ test / functional / issues_controller_test.rb
File size 168.4 KiB is bigger then allowed limit 125.0 KiB. Show as raw