Skip to content

Commit 5e7debb

Browse files
fix: supply tzinfo to datetime in iana-protocols-updates script (ietf-tools#4753)
1 parent 069c913 commit 5e7debb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/bin/iana-protocols-updates

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def chunks(l, n):
2929
syslog.syslog("Updating history log with new RFC entries from IANA protocols page %s" % settings.IANA_SYNC_PROTOCOLS_URL)
3030

3131
# FIXME: this needs to be the date where this tool is first deployed
32-
rfc_must_published_later_than = datetime.datetime(2012, 11, 26, 0, 0, 0)
32+
rfc_must_published_later_than = datetime.datetime(2012, 11, 26, 0, 0, 0, tzinfo=datetime.timezone.utc)
3333

3434
try:
3535
response = requests.get(

0 commit comments

Comments
 (0)