Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not necessary to defer today(). #1146

Merged
merged 2 commits into from
Jan 12, 2024
Merged

Not necessary to defer today(). #1146

merged 2 commits into from
Jan 12, 2024

Conversation

hs-lsong
Copy link
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
4 checks passed
@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