Skip to content

Commit

Permalink
refactor: date formatting in cache tests (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
TinyTinni authored Aug 7, 2024
1 parent 0311c9f commit 3727dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
Expand Down

0 comments on commit 3727dec

Please sign in to comment.