From 58c2406ac5e8c4cee24fc37b7645ff384efba3fb Mon Sep 17 00:00:00 2001 From: imperosol Date: Thu, 20 Aug 2026 16:13:36 +0200 Subject: [PATCH] fix: `Uncaught RangeError: Invalid time value` is SAS --- sas/templates/sas/picture.jinja | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sas/templates/sas/picture.jinja b/sas/templates/sas/picture.jinja index ebc7a53c..97a58842 100644 --- a/sas/templates/sas/picture.jinja +++ b/sas/templates/sas/picture.jinja @@ -103,7 +103,9 @@ x-data="{formatter: Intl.DateTimeFormat('{{ LANGUAGE_CODE }}', {dateStyle: 'long'})}" > {% trans %}Date: {% endtrans %} - + {# The `currentPicture.date || 0` part is to avoid having + a console error while the picture date is not yet fetched #} +