Page MenuHomePhabricator

Fix timezone-related warnings
Closed, ResolvedPublic

Description

(pyenv) urbanecm@notebook ~/unsynced/git/wmf/gerrit/wikimedia-cz/tracker/trackersite                                            
$ ./manage.py migrate
(...)
 Applying tracker.0017_auto_20180528_1833.../home/urbanecm/unsynced/git/wmf/gerrit/wikimedia-cz/tracker/deploy/pyenv/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1474: RuntimeWar
ning: DateTimeField Notification.fired received a naive datetime (2018-05-28 18:33:28.559266) while time zone support is active.
  RuntimeWarning)

 OK
(...)
(pyenv) urbanecm@notebook ~/unsynced/git/wmf/gerrit/wikimedia-cz/tracker/trackersite 
$ ./manage.py addexampledata                                            
/home/urbanecm/unsynced/git/wmf/gerrit/wikimedia-cz/tracker/deploy/pyenv/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1474: RuntimeWarning: DateTimeField Ticket.updated received a
 naive datetime (2016-06-12 06:48:00) while time zone support is active.
  RuntimeWarning)                                                    

                                                            
/home/urbanecm/unsynced/git/wmf/gerrit/wikimedia-cz/tracker/deploy/pyenv/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1474: RuntimeWarning: DateTimeField Ticket.updated received $
 naive datetime (2016-11-14 08:42:00) while time zone support is active.               
  RuntimeWarning)

/home/urbanecm/unsynced/git/wmf/gerrit/wikimedia-cz/tracker/deploy/pyenv/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1474: RuntimeWarning: DateTimeField Ticket.updated received $
 naive datetime (2015-04-24 18:44:00) while time zone support is active.
  RuntimeWarning)

/home/urbanecm/unsynced/git/wmf/gerrit/wikimedia-cz/tracker/deploy/pyenv/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1474: RuntimeWarning: DateTimeField Ticket.updated received $
 naive datetime (2016-08-06 20:46:00) while time zone support is active.
  RuntimeWarning)

/home/urbanecm/unsynced/git/wmf/gerrit/wikimedia-cz/tracker/deploy/pyenv/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1474: RuntimeWarning: DateTimeField Ticket.updated received $
 naive datetime (2017-04-19 15:46:00) while time zone support is active.
  RuntimeWarning)

/home/urbanecm/unsynced/git/wmf/gerrit/wikimedia-cz/tracker/deploy/pyenv/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1474: RuntimeWarning: DateTimeField Ticket.updated received $
 naive datetime (2017-04-12 18:10:00) while time zone support is active.
  RuntimeWarning)

/home/urbanecm/unsynced/git/wmf/gerrit/wikimedia-cz/tracker/deploy/pyenv/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1474: RuntimeWarning: DateTimeField Ticket.updated received $
 naive datetime (2017-03-25 15:30:00) while time zone support is active.
  RuntimeWarning)

(...)

(pyenv) urbanecm@notebook ~/unsynced/git/wmf/gerrit/wikimedia-cz/tracker/trackersite 
$

Event Timeline

Urbanecm triaged this task as Lowest priority.Nov 15 2018, 3:21 PM

Change 478401 had a related patch set uploaded (by Nathan fraignt; owner: Nathan fraignt):
[wikimedia-cz/tracker@master] Fix timezone related warnings

https://gerrit.wikimedia.org/r/478401

Change 478401 merged by jenkins-bot:
[wikimedia-cz/tracker@master] Fix timezone related warnings

https://gerrit.wikimedia.org/r/478401