refactor: date formatting in cache tests (#428)

This commit is contained in:
Matthias Möller
2024-08-07 14:18:30 +02:00
committed by GitHub
parent 0311c9fb90
commit 3727dec115

View File

@@ -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()))