diff options
author | eatradish <sakiiily@aosc.io> | 2023-04-06 13:30:54 +0800 |
---|---|---|
committer | eatradish <sakiiily@aosc.io> | 2023-04-06 13:30:54 +0800 |
commit | 3426d73c865761918886381b34c2f6bfe0cc95fd (patch) | |
tree | b2c18bf4b1e0a946fcec24d6353a4be3eecab12a | |
parent | eb5c08af6932c3ae030896da6dfc179ab4565b43 (diff) | |
download | Seje2-3426d73c865761918886381b34c2f6bfe0cc95fd.tar.gz Seje2-3426d73c865761918886381b34c2f6bfe0cc95fd.tar.bz2 Seje2-3426d73c865761918886381b34c2f6bfe0cc95fd.zip |
fix: try to fix '二 〇 一 九' issue (#2)
-rw-r--r-- | templates/macros.html | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/macros.html b/templates/macros.html index 7379b1b..416c2b4 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -9,8 +9,5 @@ '廿一', '廿二', '廿三', '廿四', '廿五', '廿六', '廿七', '廿八', '廿九', '三十', '三十一'] %} -{% for c in year | as_str %} - {{ lut1 | nth(n=c | int) }} -{% endfor %} -年{{ lut2 | nth(n=month-1)}}月{{ lut2 | nth(n=day-1) }}日 +{% for c in year | as_str %}{{ lut1 | nth(n=c | int) }}{% endfor %}年{{ lut2 | nth(n=month-1)}}月{{ lut2 | nth(n=day-1) }}日 {% endmacro %} |