find: -ls shows the time instead of the year for old files · Issue #898 · uutils/findutils · GitHub
Skip to content

find: -ls shows the time instead of the year for old files #898

Open

Description

@SichenLiang

uutils prints a time of day for old files in the date column of -ls. GNU prints the year for files outside its recent-file window, as ls -l does.

$ touch -d '2020-06-15 12:00:00 UTC' old
$ TZ=UTC0 find old -ls

The GNU line ends with Jun 15 2020 old; the uutils line ends with Jun 15 12:00 old.

I have a fix ready and will open the PR once #886 or #894 is merged.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions