Author p-ganssle
Recipients belopolsky, davin, lemburg, p-ganssle, serhiy.storchaka, xtreak
Date 2018-09-18.13:19:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537276785.19.0.956365154283.issue31635@psf.upfronthosting.co.za>
In-reply-to
Content
I do think this is an active bug in OpenBSD's ISO calculations, here: https://github.com/openbsd/src/blob/b66614995ab119f75167daaa7755b34001836821/lib/libc/time/wcsftime.c#L326

I re-created this algorithm in Python and at the beginning of the year it gives the wrong answer at the beginning of the year in about 50% of years. I have spent some time trying to understand the way the algorithm is *supposed* to work, but I don't totally understand what it's doing. I'll report this to OpenBSD.
History
Date User Action Args
2018-09-18 13:19:45p-gansslesetrecipients: + p-ganssle, lemburg, belopolsky, serhiy.storchaka, davin, xtreak
2018-09-18 13:19:45p-gansslesetmessageid: <1537276785.19.0.956365154283.issue31635@psf.upfronthosting.co.za>
2018-09-18 13:19:45p-gansslelinkissue31635 messages
2018-09-18 13:19:45p-gansslecreate