1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-09-11 06:55:38 +03:00

docs(core): document timestamp format of Release struct (#67)

This commit is contained in:
Marco Ieni 2022-03-13 13:48:49 +01:00 committed by GitHub
parent 66f65800b3
commit d68eb120c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ pub struct Release<'a> {
/// Commit ID of the tag.
#[serde(rename = "commit_id")]
pub commit_id: Option<String>,
/// Timestamp of the release.
/// Timestamp of the release in seconds, from epoch.
pub timestamp: i64,
/// Previous release.
pub previous: Option<Box<Release<'a>>>,