That's there because `utcoffset()` is defined to return minutes.
datetime.utcoffset()¶
tzinfo.utcoffset(self, dt) Return offset of local time from UTC, in minutes east of UTC. If local time is west of UTC, this should be negative. Note that this is intended to be the total offset from UTC; for example, if atzinfo object represents both time zone and DST adjustments, utcoffset() should return their sum. If the UTC offset isn’t known, return None. Else the value returned must be a timedeltaobject specifying a whole number of minutes in the range -1439 to 1439 inclusive (1440 = 24*60; the magnitude of the offset must be less than one day).
A
rule is needed to specify how the naive time object and `utcoffset()`
interact to define the result.
> Perhaps a reasonable improvement would be to change this to:>
> a time object is considered to be true unless it represents exactly midnight
> local time,