Commit Date generator
Generates a date string for a git commit using the same format as git log.
git.commitDate
Generator settings
Generate data to see results here.
Parameters & Example
Generates a date string for a git commit using the same format as git log.
git.commitDate(options?: { refDate? })- options
- The optional options object.
- options.refDate
- The date to use as reference point for the commit. Defaults to the configured reference date.
Example
"Wed Dec 31 16:01:56 2025 -0800"Use synthetic data in a test environment.