There definitely are timezones with other offsets than whole hours ( http://www.timeanddate.com/time/time-zones-interesting.html). The reason that timezone() takes a timedelta is to avoid mistakes in the units. The world is better off with a recipe or an example in the docs than with yet another variant to this API.
-- --Guido van Rossum (python.org/~guido)
_______________________________________________ Datetime-SIG mailing list [email protected] https://mail.python.org/mailman/listinfo/datetime-sig The PSF Code of Conduct applies to this mailing list: https://www.python.org/psf/codeofconduct/
