Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to show both author date and commit date at the same time #269

Closed
cateyes99 opened this issue Feb 26, 2020 · 1 comment
Closed
Assignees
Labels
feature request Feature request nice to have A feature request that is nice to have (lower priority)
Milestone

Comments

@cateyes99
Copy link

@mhutchie Can you please make an option to show both author date and commit date at the same time? That be lovely, thanks. I have a commit:

* commit b3ddb2dc6ccdd338111205f2cee3bb204694ebbf (origin/Release_Branches/20-02-2020)
| Author:     Someone
| AuthorDate: Thu Feb 13 02:09:45 2020 +0000
| Commit:     Sometwo
| CommitDate: Wed Feb 19 13:27:17 2020 +1300
|
|     Merged PR 12850: increased callback limit from 1 to 3
|
|     Increased callback limit from 1 to 3
|
|     As agreed in meeting 31/1/2020
|
|     Related work items: #16897

In Git Graph, it shows either author date as date or commit date as date depending on the date type settings. Below is with the default setting - showing author date
image

@cateyes99 cateyes99 added the feature request Feature request label Feb 26, 2020
@mhutchie mhutchie added the nice to have A feature request that is nice to have (lower priority) label Feb 27, 2020
@mhutchie mhutchie added this to the v1.22.0 milestone Feb 27, 2020
mhutchie added a commit that referenced this issue Feb 27, 2020
…hown in the Commit Details View. The committer email is also now shown in the Commit Details View.
@mhutchie
Copy link
Owner

This will be available in v1.22.0.

I've modified the Commit Details View such that:

  • If the author date and commit date are the same, then just a single "Date: ..." is shown.
  • Otherwise when the author date and commit date are different, "Author Date: ..." & "Commit Date: ..." are now shown.

I felt it was best to only show both dates if they are different to save repeating the same long formatted date twice.

If you'd like to use it before the next release, you can download v1.22.0-beta.3, and install it following the instructions provided here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request nice to have A feature request that is nice to have (lower priority)
Projects
None yet
Development

No branches or pull requests

2 participants