From 74d7ef82fa61e92ec6d9bfa8dda88210a45ce00a Mon Sep 17 00:00:00 2001 From: Jose Date: Wed, 3 Dec 2025 17:47:33 +0100 Subject: [PATCH] Fix datetime formatting for last modified image info in download-image.yml --- tasks/download-image.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/download-image.yml b/tasks/download-image.yml index d8f6390..c2cfe6c 100644 --- a/tasks/download-image.yml +++ b/tasks/download-image.yml @@ -38,4 +38,6 @@ msg: | Image cached at: {{ debian_image_path }} Size: {{ debian_img_final.stat.size | int / 1024 / 1024 / 1024 | round(2) }} GB - Last modified: {{ debian_img_final.stat.mtime | int | strftime('%Y-%m-%d %H:%M:%S') }} + Last modified: {{ debian_img_final.stat.mtime | float | round(0, 'floor') | int | strftime('%Y-%m-%d %H:%M:%S') }} + + # Last modified: {{ debian_img_final.stat.mtime | int | strftime('%Y-%m-%d %H:%M:%S') }}