benoitc / benoitc/dj-webmachine

if-modified-since UTC

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
59
Forks
9
PR merge metrics
No merged PRs in 30d

Description

l17 in decisions.py do:

return req.if_modified_since > datetime.datetime.now(UTC)

But our 'now' may not be UTC when using django 'TIMZONE' in settings.py.

If confirmed, I will try get a fix.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.