datatracker/ietf/nomcom
Jennifer Richards ebebdbed3e
refactor: replace datetime.now and datetime.today with timezone.now (#4211)
* refactor: replace datetime.now with timezone.now

* refactor: migrate model fields to use timezone.now as default

* refactor: replace datetime.today with timezone.now

datetime.datetime.today() is equivalent to datetime.datetime.now(); both
return a naive datetime with the current local time.

* refactor: rephrase datetime.now(tz) as timezone.now().astimezone(tz)

This is effectively the same, but is less likely to encourage accidental
use of naive datetimes.

* refactor: revert datetime.today() change to old migrations

* refactor: change a missed datetime.now to timezone.now

* chore: renumber timezone_now migration

* chore: renumber migrations
2022-08-25 13:45:16 -03:00
..
management test: decode email payloads before validating (#3926) 2022-05-03 09:29:42 -05:00
migrations feat(nomcom): Allow nomcom chair to turn volunteer acceptance on and off (#4251) 2022-07-24 08:51:57 -05:00
templatetags Tweaked the decode() templatetag code slightly. 2020-09-09 19:05:59 +00:00
__init__.py view only accessible by the secretariat that allows to assign the email of the members and the chair of the NomCom 2012-11-20 00:40:57 +00:00
admin.py feat: improve the admin for the nomcom volunteer model (#4223) 2022-07-18 08:36:34 -05:00
decorators.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
factories.py Bring the factory-boy and Faker dependencies forward through some minor breaking changes. Stop using the deprecated fr_QC locale in Faker. Commit ready for merge. 2021-08-03 22:22:35 +00:00
fields.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
forms.py feat(nomcom): Allow nomcom chair to turn volunteer acceptance on and off (#4251) 2022-07-24 08:51:57 -05:00
managers.py Fixed up mypy issues or added type:ignore comments as needed for a clean mypy run. 2019-09-30 15:42:18 +00:00
models.py feat(nomcom): Allow nomcom chair to turn volunteer acceptance on and off (#4251) 2022-07-24 08:51:57 -05:00
redirect_ann_urls.py Updated all urlpatterns to use ietf.utils.urls.url() instead of django's, 2017-02-11 14:43:01 +00:00
resources.py Allow people to volunteer for NomCom via the datatracker. Commit ready for merge. 2021-06-10 20:35:50 +00:00
test_data.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
tests.py refactor: replace datetime.now and datetime.today with timezone.now (#4211) 2022-08-25 13:45:16 -03:00
urls.py feat: csv export of nomcom volunteers. Fixes #4127. (#4146) 2022-07-06 14:13:41 -05:00
utils.py fix: Compute 8989 eligibility using actual attendance data. (#4236) 2022-07-21 12:58:32 -05:00
views.py feat: csv export of nomcom volunteers. Fixes #4127. (#4146) 2022-07-06 14:13:41 -05:00