On 14/02/2026 13:33, Terry Coles wrote:
x = datetime(2026, 10, 25, 1, 30, tzinfo=ZoneInfo("Europe/London"))

From reading all sorts of pages about expressing Time Zones, it seems that the pattern is:

datetime(year, month, day, hour, minute, second) etc

So my example probably doesn't need anything after the hour.

However, I still don't see why this has to be passed in.  Back in 2021 or so, when this code was originally written, we had nothing like that and it appeared to work.

    Baffled of Corfe Mullen

--
Terry Coles


--
 Next meeting: Online, Jitsi, Tuesday, 2026-03-03 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  https://dorset.lug.org.uk
 New thread, don't hijack:  mailto:[email protected]

Reply via email to