diff src/FdCountdown.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 e8c90d893919
children
line wrap: on
line diff
--- a/src/FdCountdown.ts	Mon Aug 26 16:17:49 2024 -0700
+++ b/src/FdCountdown.ts	Sat Sep 07 17:47:36 2024 -0700
@@ -74,7 +74,7 @@
   render() {
     return html`<h1>Coming Soon</h1>
       <ol>
-        ${this.evs.map((d) => html`<li>In ${d.inHowLong()}, ${d.title}</li>`)}
+        ${this.evs.map((d) => html`<li>${d.inHowLong()}, ${d.title}</li>`)}
       </ol> `;
   }
 }