ualberta-smr / LibraryMetricScripts

Scripts to collect metrics from software libraries.
MIT License
4 stars 2 forks source link

Fix timezone problems #25

Closed snadi closed 4 years ago

snadi commented 4 years ago
/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/django/db/models/fields/__init__.py:1418: RuntimeWarning: DateTimeField Issue.creation_date received a naive datetime (2020-01-22 09:55:18) while time zone support is active.
  warnings.warn("DateTimeField %s received a naive datetime (%s)"

This happens in all datetime fields. There's a MySQL or django setting we need to fix

snadi commented 4 years ago

Fixed in commit 6958998d4e7269c63232eaf3d5e5db17484b61ec through PR #24