fixed formatted date reactivity

This commit is contained in:
Gani Georgiev
2022-10-02 23:56:24 +03:00
parent d84e57174b
commit 838ed661ce
10 changed files with 13 additions and 13 deletions
+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}