From 3727dec115559a819971644ea922e6931fdec7fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20M=C3=B6ller?= Date: Wed, 7 Aug 2024 14:18:30 +0200 Subject: [PATCH] refactor: date formatting in cache tests (#428) --- tests/cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cache.rs b/tests/cache.rs index af9aded..5890d81 100644 --- a/tests/cache.rs +++ b/tests/cache.rs @@ -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()))