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 cfd3e50 · 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
513 unmodified lines
514 rv = c.get('/', headers={'Range': 'somethingsomething'})515 assert rv.status_code == 416516 rv.close()517518 last_modified = datetime.datetime.fromtimestamp(os.path.getmtime(518 last_modified = datetime.datetime.utcfromtimestamp(os.path.getmtime(519 os.path.join(app.root_path, 'static/index.html'))).replace(520 microsecond=0)521522 rv = c.get('/', headers={'Range': 'bytes=4-15',
365 unmodified lines