django-otp is not necessarily time-based. Verification is done by plugins, which can use a variety of mechanisms. One of the most popular is TOTP (e.g. Google Authenticator), which relies on Unix timestamps. Specifically, the number of (usually) 30-second intervals since 1970-01-01 00:00:00 UTC.[1][2]
In general, time zones are mostly an issue at the point where users are involved with entering or reading date/time information. Low-level algorithms like TOTP are always designed in terms of Unix timestamps or some other universal reference point.