jesseduffield / lazygit

simple terminal UI for git commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change date format

c02y opened this issue · comments

commented

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I asked #1899 here 18 days ago, no one answers it, so I guess such feature is not implemented.

I notice the date in lazygit have different formats

  • relative time like 20 minutes ago in Local Branches->Log window
  • format like Thu Apr 1 09:26:45 2022 +0800 in Commits->Patch window
  • format like Thu Apr 1 09:26:45 2022 CST in Commits Pane in the list of commits

Please make it possible to customize all the date formats to

--date=format:"%Y-%m-%d %H:%M:%S"

I mean, anywhere in the lazygit, once for all?

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

I think this is in progress in #1948 ?

commented

That PR is just for date time in commit log which is:

  • format like Thu Apr 1 09:26:45 2022 CST in Commits Pane in the list of commits

Local Branches->Log can be customized with git.branchLogCmd.

ezoic increase your site revenue