We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bf98a9 commit a269276Copy full SHA for a269276
app/controllers/worktimes_controller.rb
@@ -23,7 +23,7 @@ class WorktimesController < CrudController
23
def index
24
set_week_days
25
@notifications = UserNotification.list_during(@period, current_user)
26
- @last_day_of_month = Date.today == Date.today.end_of_month
+ @last_day_of_month = Time.zone.today == Time.zone.today.end_of_month
27
super
28
end
29
0 commit comments