Skip to content

Commit b374207

Browse files
committed
Correct month number in URL
1 parent de97916 commit b374207

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/workers/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ export class OvernightSaveToR2 extends WorkflowEntrypoint<
456456
console.log(`Uploading ${csv.length} bytes to R2`);
457457
const upload = await this.env.R2_BUCKET.put(
458458
`daily-observations/${startOfPeriod.getFullYear()}-${String(
459-
startOfPeriod.getMonth()
459+
startOfPeriod.getMonth() + 1
460460
).padStart(2, "0")}-${String(startOfPeriod.getDate()).padStart(
461461
2,
462462
"0"

website/wrangler.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
},
7373
"preview_urls": false,
7474
"triggers": {
75-
"crons": ["45 10 * * *"] // every day at 10:45 AM UTC
75+
"crons": ["30 2 * * *"] // every day at 2:30 AM UTC
7676
},
7777
"version_metadata": {
7878
"binding": "CF_VERSION_METADATA"

0 commit comments

Comments
 (0)