Closed MatoPlus closed 2 years ago
Visit the preview URL for this PR (updated for commit 503f06e):
https://sistering-dev--pr633-rickson-timezone-uti-gdsndllf.web.app
(expires Sun, 28 Aug 2022 21:55:08 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
merged to unblock other tickets. Feel free to lmk for any requests
Ticket link
Closes #629 Closes #618 Closes #620 Closes #634 Closes #615
Implementation description
629 - Pending invites uses the createdAt field and we should respect the timezone for that backend fetched data
618 - Fixed various timezone issues, related to #620 fix
620 - Fixed
dateInRange
util, updated usage634 - Make sure pending user invite modal filters for employee roles instead of admin roles for "admin" tab
615 - Add additional check to posting form shifts next handler to ensure that auto closing date has to be before the start date
Also, remove the unused VolunteerProfileShiftRow component.
Steps to test
629 - Invite users via user management, and go to invite modal, the date and time should be correct in ET timezone
618 - Volunteer cannot see postings with passed auto closing date in their shifts or postings tab
620 - Filter now respects that "This week/month" logic rather than doing a day diff count - use volunteer homepage to test out filter
634 - Invite admin and refresh page, that pending invite should appear in pending user invites modal
615 - Super admins can no longer create postings that with auto closing date after the posting start date, will get form error before submitting
What should reviewers focus on?
Checklist