MiniJinja is a powerful but minimal dependency template engine for Rust compatible with Jinja/Jinja2
1.46k
stars
83
forks
source link
Error { kind: InvalidOperation, detail: "filter requires time, but only received a date", name: "<string>", line: 1 } #397
Closed
nbittich closed 7 months ago
Description
Trying to use the datetimeformat filter with default format and timezone.
[What happened]
Trying to use the datetimeformat filter using default format & timezone. The timestamp below comes from the example in chrono doc (https://docs.rs/chrono/latest/chrono/naive/struct.NaiveDateTime.html#method.from_timestamp_millis)
Reproduction steps
Additional helpful information:
What did you expect
I should get the date format like e.g
01/09/2022 18:34