Mercurial > code > home > repos > front-door-display
comparison 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 |
comparison
equal
deleted
inserted
replaced
20:e8c90d893919 | 21:a90cb6927c7d |
---|---|
72 }); | 72 }); |
73 } | 73 } |
74 render() { | 74 render() { |
75 return html`<h1>Coming Soon</h1> | 75 return html`<h1>Coming Soon</h1> |
76 <ol> | 76 <ol> |
77 ${this.evs.map((d) => html`<li>In ${d.inHowLong()}, ${d.title}</li>`)} | 77 ${this.evs.map((d) => html`<li>${d.inHowLong()}, ${d.title}</li>`)} |
78 </ol> `; | 78 </ol> `; |
79 } | 79 } |
80 } | 80 } |