updating current date - ned to make automatic

main
mwinter 7 months ago
parent 59a810a55c
commit d0eb84d412

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