Skip to content

Add new advanced date formatting tokens #4783

@eamodio

Description

@eamodio

Summary

Adds new date formatting tokens that combine relative and absolute date formats, including support for showing both author and committer dates when they differ.

Impact

  • Adds agoAndDate, agoAndDateShort, and agoAndDateBothSources tokens
  • agoAndDateBothSources shows relative and absolute date plus the corresponding author/committer relative date when they differ
  • Updates default tooltip and status bar formats to use these new tokens

Validation

  • Verify new date format tokens work in custom format strings
  • Verify default tooltip and status bar formats show improved date information
  • Verify agoAndDateBothSources correctly shows committer date when it differs from author date

Risk

Low - Additive feature with updated defaults that improve user experience


Issue created retroactively via commit audit

Metadata

Metadata

Assignees

Labels

pending-releaseResolved but not yet released to the stable editionverified ✔Verified

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions