Skip to content

Commit bceec59

Browse files
sragssclaude
andcommitted
fix: set timezone to America/New_York for cron and agent config
Cron jobs were using hardcoded UTC offsets which drift on DST transitions. Adds userTimezone to openclaw.json, fills in USER.md, and adds memory note so Craig always uses tz field on cron schedules. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5ef0c85 commit bceec59

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

MEMORY.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ This file contains durable facts and decisions that persist across sessions. Cra
4949
- **Read shared message**: POST https://x402email.com/api/inbox/messages/read ($0.001/call) with body {"messageId":"..."}
5050
- **Wallet**: must pay from Craig's x402 wallet (owner wallet)
5151

52+
## Timezone
53+
54+
- Team is in **Eastern Time (America/New_York)**. All user-facing times should be ET.
55+
- When creating cron jobs, always set `tz: "America/New_York"` on cron-expression schedules so DST transitions are handled automatically. Never hardcode UTC offsets.
56+
- Config: `agents.defaults.userTimezone` is set to `America/New_York` in openclaw.json.
57+
5258
## Infrastructure
5359

5460
- Workspace repo: Merit-Systems/CraigClaw

USER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ _Learn about the person you're helping. Update this as you go._
55
- **Name:**
66
- **What to call them:**
77
- **Pronouns:** _(optional)_
8-
- **Timezone:**
8+
- **Timezone:** America/New_York (ET)
99
- **Notes:**
1010

1111
## Context

deploy/openclaw.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"target": "discord",
2626
"to": "channel:1470899181383061504"
2727
},
28+
"userTimezone": "America/New_York",
2829
"maxConcurrent": 4,
2930
"subagents": {
3031
"maxConcurrent": 8

0 commit comments

Comments
 (0)