updating upcoming date limit

main
mwinter 1 year ago
parent b112e5f178
commit 14bf6e1b4d

@ -58,7 +58,7 @@
} }
//const today = Date.now(); //annoying this does not work //const today = Date.now(); //annoying this does not work
const today = 1697140396300; const today = 1697498918543;
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