Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

docs(testing): correct TEST_EPOCH date to 2025-01-02 (#3463)

Worktrunk Botf2ecccbabed6
diff --git a/src/testing/mod.rs b/src/testing/mod.rs
index 8dcf92f71..21f97a4b0 100644
--- a/src/testing/mod.rs
+++ b/src/testing/mod.rs
@@ -235,7 +235,7 @@ pub const HOUR: i64 = 60 * MINUTE;
pub const DAY: i64 = 24 * HOUR;
pub const WEEK: i64 = 7 * DAY;
-/// The epoch used for deterministic timestamps in tests (2025-01-01T00:00:00Z).
+/// The epoch used for deterministic timestamps in tests (2025-01-02T00:00:00Z).
/// Use this when creating test data with timestamps (cache entries, etc.).
pub const TEST_EPOCH: u64 = 1735776000;
diff --git a/tests/CLAUDE.md b/tests/CLAUDE.md
index 42423f529..e062c396b 100644
--- a/tests/CLAUDE.md
+++ b/tests/CLAUDE.md
@@ -592,7 +592,7 @@ code. Delete these. Test the behavior that uses these types instead.
## Deterministic Time in Tests
-Tests use `TEST_EPOCH` (2025-01-01) for reproducible timestamps. The constant is defined in `src/testing/mod.rs`, re-exported via `tests/common/mod.rs`, and automatically set as `WORKTRUNK_TEST_EPOCH` in the test environment.
+Tests use `TEST_EPOCH` (2025-01-02) for reproducible timestamps. The constant is defined in `src/testing/mod.rs`, re-exported via `tests/common/mod.rs`, and automatically set as `WORKTRUNK_TEST_EPOCH` in the test environment.
**For test data with timestamps** (cache entries, etc.), use the constant: