Fix datetime formatting for last modified image info in download-image.yml
This commit is contained in:
@@ -38,4 +38,6 @@
|
|||||||
msg: |
|
msg: |
|
||||||
Image cached at: {{ debian_image_path }}
|
Image cached at: {{ debian_image_path }}
|
||||||
Size: {{ debian_img_final.stat.size | int / 1024 / 1024 / 1024 | round(2) }} GB
|
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') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user