From c5a3e429863442c4f9d6f40f9990897bb586a0e5 Mon Sep 17 00:00:00 2001 From: Francesco Marchisotti Date: Sat, 27 Dec 2025 01:00:22 +0100 Subject: [PATCH] feat: ISO 8601 date format for spotter (#3465) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 三咲雅 misaki masa --- 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 e502bf31..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 {},