refactor: date formatting in cache tests (#428)
This commit is contained in:
parent
0311c9fb90
commit
3727dec115
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ fn get_file_with_if_modified_since_condition(
|
|||
.expect("Received no valid last modified header");
|
||||
|
||||
let req_modified_time = (last_modified + duration_after_file_modified)
|
||||
.format("%a, %e %b %Y %T GMT")
|
||||
.format("%a, %d %b %Y %T GMT")
|
||||
.to_string();
|
||||
|
||||
let resp = fetch!(b"GET", format!("{}index.html", server.url()))
|
||||
|
|
Loading…
Reference in a new issue