This pull request includes changes to the access_amherst_backend to improve the handling of event dates and enhance the Google Calendar integration. The most important changes include updating the Google Calendar link to include more information and refactoring the date handling logic in the home view function.
access_amherst_backend/access_amherst_algo/views.py: Refactored the home function to simplify date handling and ensure dates are correctly converted to UTC for database queries. This includes using user-provided dates or default values and directly converting them to UTC. [1][2]…e page
This pull request includes changes to the
access_amherst_backend
to improve the handling of event dates and enhance the Google Calendar integration. The most important changes include updating the Google Calendar link to include more information and refactoring the date handling logic in thehome
view function.Enhancements to Google Calendar integration:
access_amherst_backend/access_amherst_algo/templates/access_amherst_algo/home.html
: Updated the Google Calendar link to include the event link in the details section.Improvements to date handling logic:
access_amherst_backend/access_amherst_algo/views.py
: Refactored thehome
function to simplify date handling and ensure dates are correctly converted to UTC for database queries. This includes using user-provided dates or default values and directly converting them to UTC. [1] [2]…e page