diff src/parseRdf.ts @ 21:a90cb6927c7d default tip

fix countdown queries. Display "now" instead of "In -0.4 hours"
author drewp@bigasterisk.com
date Sat, 07 Sep 2024 17:47:36 -0700
parents 20d1fa4250c0
children
line wrap: on
line diff
--- a/src/parseRdf.ts	Mon Aug 26 16:17:49 2024 -0700
+++ b/src/parseRdf.ts	Sat Sep 07 17:47:36 2024 -0700
@@ -7,7 +7,7 @@
   store.getObjects(subj, pred, graph).forEach((attr) => {
     out = attr.value;
   });
-  if (!out) {
+  if (out == null) {
     if (missing === null) {
       throw new Error();
     }