mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
feat: ISO 8601 date format for spotter (#3465)
Co-authored-by: 三咲雅 misaki masa <sxyazi@gmail.com>
This commit is contained in:
parent
366fca6b10
commit
c5a3e42986
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue