diff --git a/templates/formdata.html.twig b/templates/formdata.html.twig
index 2a07d31..85027b5 100644
--- a/templates/formdata.html.twig
+++ b/templates/formdata.html.twig
@@ -6,8 +6,8 @@
{{ form.message }}
- {% if plugin.translate_date.enabled %}
+ {% if config.plugins["translate-date"].enabled %}
{{ page.date|td(null, config.system.pages.dateformat.short) }}
{% else %}
{{ page.date|date(config.system.pages.dateformat.short) }}