AI & Agents
Agent
testing-timezone
When running tests in the Cal.diy repository, use the `TZ=UTC` environment variable:
Claude Code
$ npx -y skills add calcom/cal.diy --agent claude-code
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
Agent definition
testing-timezone.mdtitle: Timezone Handling in Tests impact: HIGH impactDescription: Timezone bugs are hard to reproduce without consistent test environments tags: testing, timezone, consistency
Timezone Handling in Tests
Always Use TZ=UTC
When running tests in the Cal.diy repository, use the `TZ=UTC` environment variable:
TZ=UTC yarn test
This ensures consistent timezone handling and prevents timezone-related test failures that might occur when tests are run in different environments or by different developers with varying local timezone settings.
Why This Matters
- Tests may pass locally but fail in CI (or vice versa)
- Date/time assertions become unpredictable
- Debugging timezone issues is time-consuming
Test Commands
# Unit tests TZ=UTC yarn test # Specific test file TZ=UTC yarn vitest run path/to/file.test.ts # E2E tests (already configured in yarn e2e) PLAYWRIGHT_HEADLESS=1 yarn e2e
Stats
50,432
Stars
Active
Maintenance
TypeScript
Language
MIT
License
Last commit
Created
50k3 skills95 agents
More agents from other plugins.
CSharpExpert.agent
AgentAn agent designed to assist with software development tasks for .NET projects.
coder
AgentFocused coder - implements exactly the assigned subtask in its worktree
Argon
AgentGoogle cross-vendor agent named for the model it runs — Gemini 4 Argon, Google’s top reasoning model, via…
Questions about testing-timezone.
- Which coding agents can use testing-timezone?
- testing-timezone installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.

