From 70ba80e34d5c9bcff5962017530ce370ee980588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E9=9B=85=20misaki=20masa?= Date: Sat, 27 Dec 2025 07:56:36 +0800 Subject: [PATCH] Change date format to include seconds --- yazi-plugin/preset/plugins/file.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yazi-plugin/preset/plugins/file.lua b/yazi-plugin/preset/plugins/file.lua index 3a3739a5..ccf091e3 100644 --- a/yazi-plugin/preset/plugins/file.lua +++ b/yazi-plugin/preset/plugins/file.lua @@ -49,8 +49,8 @@ function M:spot_base(job) return { ui.Row({ "Base" }):style(ui.Style():fg("green")), - ui.Row { " Created:", cha.btime and os.date("%Y-%m-%d %H:%M", math.floor(cha.btime)) or "-" }, - ui.Row { " Modified:", cha.mtime and os.date("%Y-%m-%d %H:%M", math.floor(cha.mtime)) or "-" }, + ui.Row { " Created:", cha.btime and os.date("%Y-%m-%d %H:%M:%S", math.floor(cha.btime)) or "-" }, + ui.Row { " Modified:", cha.mtime and os.date("%Y-%m-%d %H:%M:%S", math.floor(cha.mtime)) or "-" }, ui.Row { " Mimetype:", job.mime }, ui.Row {},