rokwire / events-manager

Events Manager is the administrative interface to events in the Rokwire Platform. Through this web application, users can manage existing events coming from calendars and/or create and manage user events.
Apache License 2.0
1 stars 4 forks source link

[BUG] Warning when setting up scheduled download #1029

Closed sandeep-ps closed 1 year ago

sandeep-ps commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Sgn in to Events Manager
  2. Go to Calendar Events Settings
  3. Change the scheduled download time
  4. See the below warning in the AWS logs:
/usr/local/lib/python3.7/site-packages/apscheduler/util.py:436: PytzUsageWarning: The localize method is no longer necessary, as this time zone supports the fold attribute (PEP 495). For more details on migrating to a PEP 495-compliant implementation, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html
--
return tzinfo.localize(dt)

Expected behavior The warning should be addressed based on the migration document mentioned in the logs.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

sandeep-ps commented 1 year ago

This has been fixed.