Skip to content

Commit dates in Git History ignore the timestamp setting #23

Description

@Defmon3

Seen on: component/git-history

What it fixes

Git History shows commit dates with its own private formatter: always 24-hour time, never the locale style. The rest of the app follows the Timestamp format setting, so a user who chose 12-hour or locale formatting sees one style in chat and another in History. The same private formatter feeds the commit list, the details pane, and the screen-reader labels.

How to fix it

History should format dates through the shared timestamp formatter the chat view uses, passing the user's setting, so every surface agrees. The private formatter goes away. Ships with a test that a 12-hour setting changes the commit row output.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions