fixed formatted date reactivity

This commit is contained in:
Gani Georgiev committed 2022-10-02 23:56:24 +03:00
1 parent d84e57174b
commit 838ed661ce
10 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
// note: manual trim the ms without converting to DateTime
// to help improving the rendering performance in large data sets
let shortDate = date.length > 19 ? date.substring(0, 19) : date;
$: shortDate = date.length > 19 ? date.substring(0, 19) : date;
</script>
{#if date}