Chore: Fix timestamp in \git cliff -u\

This commit is contained in:
Kyle Simpson
2024-02-29 23:11:39 +00:00
parent b07e9b4178
commit 8f60cf573e

View File

@@ -7,12 +7,12 @@
body = """ body = """
{% if version %}\ {% if version %}\
{%- set versionlink = version -%} {%- set versionlink = version -%}
{%- set t = timestamp -%} {%- set ts = timestamp -%}
{% else %}\ {% else %}\
{%- set versionlink = "unreleased" -%} {%- set versionlink = "unreleased" -%}
{%- set t = ts -%} {%- set ts = now() -%}
{% endif %}\ {% endif %}\
## [{{ versionlink }}] — {{ t | date(format="%Y-%m-%d") }} ## [{{ versionlink }}] — {{ ts | date(format="%Y-%m-%d") }}
Thanks to the following for their contributions: Thanks to the following for their contributions:
{% for contributor in github.contributors %} {% for contributor in github.contributors %}