Skip to main content

Module timezone

Module timezone 

Source
Expand description

DST timezone helpers for German MESZ/MEZ validation.

EU DST rule: MESZ (summer time) starts the last Sunday of March at 01:00 UTC, and ends the last Sunday of October at 01:00 UTC.

Functionsยง

is_mesz_utc
Returns True if the given CCYYMMDDHHMM value falls within German summer time (MESZ), False if it falls in winter time (MEZ), or Unknown if the input is invalid/too short.
is_mez_utc
Returns True if the given CCYYMMDDHHMM value falls within German winter time (MEZ).