Commit Date生成器

Commit Date生成器 · git.commitDate. 生成方法 · 示例

git.commitDate

生成设置

生成后在这里查看结果。

参数 & 示例

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.

示例

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

请在测试环境使用合成数据。

相关生成器

探索场景模板