Skip to content

ls, date: refactor common code for formatting a given datetime #7156

@jfinkels

Description

@jfinkels

Similar code was introduced to date in #7134 and ls in #7154 for formatting a datetime with a timezone abbreviation specifier %Z in a custom format string. It seems ls --time-style=+FORMAT and date +FORMAT have the same behavior. This issue is requesting that we refactor the common datetime formatting code to avoid duplicate code in each place.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions