Skip to content

Commit a269276

Browse files
committed
Appease the rubocop overlord
1 parent 1bf98a9 commit a269276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/worktimes_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class WorktimesController < CrudController
2323
def index
2424
set_week_days
2525
@notifications = UserNotification.list_during(@period, current_user)
26-
@last_day_of_month = Date.today == Date.today.end_of_month
26+
@last_day_of_month = Time.zone.today == Time.zone.today.end_of_month
2727
super
2828
end
2929

0 commit comments

Comments
 (0)