Skip to content

Commit

Permalink
Make "Event" go through the end of EPOCH
Browse files Browse the repository at this point in the history
The "Event" button on the shift management page for admins was showing up until the epoch day, but not the actual last day of the event. This fixes that.
  • Loading branch information
kitsuta committed Nov 29, 2023
1 parent 7c3340c commit 86fe154
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uber/templates/shifts_admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ <h3>Teardown Shifts ({{teardown|length}})</h3>
agendaEvent: {
type: 'timeGrid',
visibleRange: {
start: '{{ c.EPOCH.strftime('%Y-%m-%d') }}',
end: '{{ c.ESCHATON.strftime('%Y-%m-%d') }}'
start: '{{ c.EPOCH }}',
end: '{{ c.ESCHATON }}'
},
buttonText: 'Event',
},
Expand Down

0 comments on commit 86fe154

Please sign in to comment.