updating date

main
mwinter 1 year ago
parent d226a2f3fe
commit 386a404b3b

@ -58,7 +58,7 @@
} }
//const today = Date.now(); //annoying this does not work //const today = Date.now(); //annoying this does not work
const today = 1695544561605; const today = 1697140396300;
const { data: upcoming_events } = await useFetch("https://unboundedpress.org/api/events?filter={'start_date':{'$gte':{'$date':" + today + "}}}", { const { data: upcoming_events } = await useFetch("https://unboundedpress.org/api/events?filter={'start_date':{'$gte':{'$date':" + today + "}}}", {
transform: (upcoming_events) => { transform: (upcoming_events) => {
for (const event of upcoming_events) { for (const event of upcoming_events) {

Loading…
Cancel
Save