Skip to content

Not necessary to defer today().#1146

Merged
hs-lsong merged 2 commits intomasterfrom
no-defer-today
Jan 12, 2024
Merged

Not necessary to defer today().#1146
hs-lsong merged 2 commits intomasterfrom
no-defer-today

Conversation

@hs-lsong
Copy link
Copy Markdown
Collaborator

@hs-lsong hs-lsong commented Jan 12, 2024

The value of today() does not change frequently, let make it not deferred.

Some users use "today() | datetimeformat("%Y")" for generate the Copyright year. They should have used the year() function.

@hs-lsong hs-lsong requested a review from jasmith-hs January 12, 2024 19:15
@hs-lsong hs-lsong merged commit 3f78a3c into master Jan 12, 2024
@hs-lsong hs-lsong deleted the no-defer-today branch January 12, 2024 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants