summaryrefslogtreecommitdiff
path: root/docs/comment-example-code/example.py
diff options
context:
space:
mode:
authorBert JW Regeer <bertjw@regeer.org>2016-11-17 20:58:35 -0700
committerBert JW Regeer <bertjw@regeer.org>2016-11-17 22:42:15 -0700
commitd4c1b46d3d6f5d9281bd2703f4ac2b4304b13768 (patch)
tree117120727594fc27d6fb2f6b63280b5513974577 /docs/comment-example-code/example.py
parent31fa38344518650ba15ce47b6beb2d24e2492d0b (diff)
downloadwebob-d4c1b46d3d6f5d9281bd2703f4ac2b4304b13768.tar.gz
Update expires for set_cookie to allow TZ aware datetime
This will convert the TZ aware datetime to one that is not timezone aware and to UTC. This can then be used in math to generate the timedelta for max_age. Also documents that using a local datetime object is not supported, unfortunately there is no good way to find out whether a datetime is local or not, so there is no way to warn the user about bad input. Closes #254
Diffstat (limited to 'docs/comment-example-code/example.py')
0 files changed, 0 insertions, 0 deletions