➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 beng94
收信人 belopolsky, beng94, lemburg, serhiy.storchaka
日期 2016-02-09.22:14:14
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1455056054.4.0.767770111745.issue23718@psf.upfronthosting.co.za>
In-reply-to
内容
I made a patch, that solves this issue.

The problem was that there wasn't any Sunday (%w = 0) on the 0th week in 2015. 2015 started on Thursday, therefore the first Sunday was on 2014.12.28.

julian variable is used to set the tm_yday, which was a minus value, as the given date was not in the same year.
历史
日期 用户 动作 参数
2016-02-09 22:14:14beng94修改recipients: + beng94, lemburg, belopolsky, serhiy.storchaka
2016-02-09 22:14:14beng94修改messageid: <1455056054.4.0.767770111745.issue23718@psf.upfronthosting.co.za>
2016-02-09 22:14:14beng94链接issue23718 messages
2016-02-09 22:14:14beng94创建