Symptom
The test "should parse course dates correctly" passes on some machines but fails on others. It works in UTC but breaks in any other timezone (e.g., EST, IST, AEST).
Expected: Date parsing should produce consistent results regardless of the local timezone.
Context
The course's createdAt is a UTC timestamp (Z suffix): "2025-01-15T10:30:00Z". The test parses it and checks the hour. The JavaScript Date object has both local-time and UTC accessors.
Hints
TypeScript
TypeScript ready
Test Output
▶
Click "Run Tests" to execute your code