0003-simplify-User-today.patch

Jens Krämer, 2016-03-27 06:07

Download (639 Bytes)

View differences:

app/models/user.rb
510 510
    if time_zone.nil?
511 511
      Date.today
512 512
    else
513
      # TODO replace with time_zone.today
514
      Time.now.in_time_zone(time_zone).to_date
513
      time_zone.today
515 514
    end
516 515
  end
517 516

  
518
-