Skip to content
Myr

get mtime in utc

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 78cb96f · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:tests/test_helpers.py+1 added-1 removed
515 unmodified lines
516 rv = c.get('/', headers={'Range': 'somethingsomething'})517 assert rv.status_code == 416518 rv.close()519520 last_modified = datetime.datetime.fromtimestamp(os.path.getmtime(520 last_modified = datetime.datetime.utcfromtimestamp(os.path.getmtime(521 os.path.join(app.root_path, 'static/index.html'))).replace(522 microsecond=0)523524 rv = c.get('/', headers={'Range': 'bytes=4-15',
379 unmodified lines