mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-06 14:31:42 +02:00
fixed formatted date reactivity
This commit is contained in:
1 parent
d84e57174b
commit
838ed661ce
10 files changed
+13
-13
No files matched your search
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user