Skip to content

{bp-3571} nshlib/nsh_fscmds: Display modification time in ls -l output#3579

Merged
acassis merged 1 commit into
apache:releases/13.0from
jerpelea:bp-3571
Jul 2, 2026
Merged

{bp-3571} nshlib/nsh_fscmds: Display modification time in ls -l output#3579
acassis merged 1 commit into
apache:releases/13.0from
jerpelea:bp-3571

Conversation

@jerpelea

@jerpelea jerpelea commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes #17063

Add modification time display to ls -l long format output. The timestamp is shown as 'YYYY-MM-DD HH:MM' between the permission string and the file size, following the ISO long-iso format.

Files with st_mtime == 0 (e.g., procfs, tmpfs pseudo-entries) skip the timestamp display to avoid showing a meaningless epoch time.

Impact

RELEASE

Testing

CI

Fixes #17063

Add modification time display to ls -l long format output.
The timestamp is shown as 'YYYY-MM-DD HH:MM' between the permission
string and the file size, following the ISO long-iso format.

Files with st_mtime == 0 (e.g., procfs, tmpfs pseudo-entries) skip
the timestamp display to avoid showing a meaningless epoch time.

Signed-off-by: hanzhijian <hanzhijian@zepp.com>
@acassis acassis merged commit 81a1539 into apache:releases/13.0 Jul 2, 2026
11 of 41 checks passed
@jerpelea jerpelea deleted the bp-3571 branch July 2, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants