Skip to content

CTF-702: Event Timing

Statement

The system shall support configuring event start and end times as UTC timestamps. The system shall display times in the participant's local timezone. Events shall not accept flag submissions before start time or after end time, regardless of state. The system shall display a countdown timer to participants showing time remaining until event start or end.

Rationale

Precise timing is fundamental to competitive fairness, all participants must have the same competition window. CTFd enforces start/end times. For Shifter events spanning multiple timezones (PANW is global), UTC storage with local display prevents timezone confusion that could give some participants more or less time.

Traceability

  • IMPLEMENTS → CODE_FILE shifter/shifter_platform/ctf/services/submission.py (Flag submission service, time-boundary enforcement)
  • IMPLEMENTS → CODE_FILE shifter/shifter_platform/ctf/models/ (CTFEvent model, event_start, event_end, event_timezone fields)
  • TESTS → TEST shifter/shifter_platform/tests/ctf/test_services/test_submission.py (Submission tests, time-boundary enforcement (TestTimeBoundaryEnforcement))
  • IMPLEMENTS → GITHUB_ISSUE Brad-Edwards/bigrae#583 (CTF-702: Event Timing)