Debugging

This commit is contained in:
2026-06-24 11:57:48 -04:00
parent ab9521dd91
commit f3f1c516e0
2 changed files with 12 additions and 0 deletions

View File

@@ -81,6 +81,10 @@ export async function getOpenMeteo(lat, lon, start, end) {
const startStr = start.toISOString().slice(0, 10)
const endStr = end.toISOString().slice(0, 10)
console.log('[meteo] startStr :', startStr)
console.log('[meteo] endStr :', endStr)
console.log('[meteo] url :', url)
const url = `https://api.open-meteo.com/v1/forecast?latitude=${lat}&longitude=${lon}` +
`&daily=${DAILY_FIELDS}&timezone=auto&start_date=${startStr}&end_date=${endStr}`