79640580

Date: 2025-05-27 13:35:19
Score: 1
Natty:
Report link

Late to the party, but at least on git version 2.48.1, the following outputs a valid ISO 8601 timestamp:

git log --pretty=format:'%cI' -n1 --date=iso-strict

On macOS, -d is not a valid option for date, as pointed in another answer.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vito Sartori