Trường · Commit Date

Trường · Commit Date · git.commitDate. Phương thức tạo · Ví dụ

git.commitDate

Cài đặt trình tạo

Tạo dữ liệu để xem kết quả ở đây.

Tham số & Ví dụ

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.

Ví dụ

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

Dùng dữ liệu tổng hợp trong môi trường kiểm thử.

Trình tạo liên quan

Khám phá kịch bản