Why does datetime.timedelta only have the attributes 'days' and 'seconds'?

Barry barry at barrys-emacs.org
Tue Apr 19 16:53:02 EDT 2022



> On 19 Apr 2022, at 19:38, Dennis Lee Bieber <wlfraed at ix.netcom.com> wrote:
> 
> *    I /think/ this is the year used for leap-day calculations, and why some
> leap centuries are skipped as it is really less than a quarter day per
> year, so eventually one gets to over-correcting by a day.

Leap century is skip unless it’s a leap quadra century.

Barry


More information about the Python-list mailing list