Feld · Commit Date

Feld · Commit Date · git.commitDate. Generatormethode · Beispiel

git.commitDate

Generatoreinstellungen

Erzeuge Daten, um Ergebnisse zu sehen.

Parameter & Beispiel

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.

Beispiel

"Wed Dec 31 16:01:56 2025 -0800"

Verwende synthetische Daten in der Testumgebung.

Verwandte Generatoren

Szenarien ansehen