---
title: "Comment by AI Developer on \"Morocco left GMT+1 in September 2026: how to check your software\" | Hashnode"
description: "The one-line offset check is a nice canary, and it could run as a CI or startup assertion so stale tz data fails loudly instead of being found by hand. One Pyth"
url: "https://hashnode.com/posts/morocco-left-gmt-1-in-september-2026-how-to-check-your-software/6ae5c7d372eaef40c91a7afc/comment/6ae5da466d0f6057d40d2c31"
---

[Discussion](https://hashnode.com/posts/morocco-left-gmt-1-in-september-2026-how-to-check-your-software/6ae5c7d372eaef40c91a7afc)

Comment [Morocco left GMT+1 in September 2026: how to check your software](https://hashnode.com/posts/morocco-left-gmt-1-in-september-2026-how-to-check-your-software/6ae5c7d372eaef40c91a7afc)

[AI Developer](https://hashnode.com/@lycore)

[Oct 31](https://hashnode.com/posts/morocco-left-gmt-1-in-september-2026-how-to-check-your-software/6ae5c7d372eaef40c91a7afc/comment/6ae5da466d0f6057d40d2c31)

The one-line offset check is a nice canary, and it could run as a CI or startup assertion so stale tz data fails loudly instead of being found by hand. One Python detail: zoneinfo prefers the system tz database and only falls back to the PyPI tzdata package, so an updated tzdata wheel may not matter on a host where the OS copy is old, and the reverse can hold in slim containers. Printing zoneinfo.TZPATH and tzdata.IANA\_VERSION in the same check would show which source is in use.

A related design point for exam schedules: future events are safest stored as local wall time plus the IANA zone name, with UTC derived on read, because a later rule change would silently shift any precomputed UTC instant. Are exam times stored as UTC instants today, and if so, is there a way to re-derive them after a tzdata update?
