##// END OF EJS Templates
Simplify User#today (#22320)....
Jean-Philippe Lang -
r15001:f2a5804f4e57
parent child
Show More
@@ -512,8 +512,7 class User < Principal
512 if time_zone.nil?
512 if time_zone.nil?
513 Date.today
513 Date.today
514 else
514 else
515 # TODO replace with time_zone.today
515 time_zone.today
516 Time.now.in_time_zone(time_zone).to_date
517 end
516 end
518 end
517 end
519
518
General Comments 0
You need to be logged in to leave comments. Login now