plugin-templates icon indicating copy to clipboard operation
plugin-templates copied to clipboard

[Bug] Custom variable of type date does not get localized

Open Zeratoxx opened this issue 3 years ago • 0 comments

Issue

The date of a custom variable of the type date does not get formatted/localized to the configuration set in Joplin for date format.

Joplin configuration

Tools > Options > General > Date Format is set to: 30.10.2017 (German date format).

Template

---
set_date: date

---

#  Tagesbericht {{set_date}}

Expected behavior:

Generated
#  Tagesbericht 18.07.2022

Current behavior

Generated
#  Tagesbericht 2022-07-19

Zeratoxx avatar Jul 20 '22 12:07 Zeratoxx