From 8f60cf573e1f49ba82d104273a26bee960fc1435 Mon Sep 17 00:00:00 2001 From: Kyle Simpson Date: Thu, 29 Feb 2024 23:11:39 +0000 Subject: [PATCH] Chore: Fix timestamp in \git cliff -u\ --- cliff.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cliff.toml b/cliff.toml index 4b439d4..5febebf 100644 --- a/cliff.toml +++ b/cliff.toml @@ -7,12 +7,12 @@ body = """ {% if version %}\ {%- set versionlink = version -%} - {%- set t = timestamp -%} + {%- set ts = timestamp -%} {% else %}\ {%- set versionlink = "unreleased" -%} - {%- set t = ts -%} + {%- set ts = now() -%} {% endif %}\ -## [{{ versionlink }}] — {{ t | date(format="%Y-%m-%d") }} +## [{{ versionlink }}] — {{ ts | date(format="%Y-%m-%d") }} Thanks to the following for their contributions: {% for contributor in github.contributors %}