[New-bugs-announce] [issue14048] calendar bug related to September 2-14, 1752

Scott Bannert report at bugs.python.org
Sat Feb 18 10:00:50 CET 2012


New submission from Scott Bannert <bannerts at gmail.com>:

Note: this is my first time to submit a bug or use this system

I might have found an issue with the calendar related to the point of time in history when the date was necessary to correct by 11 days.  Anyhow, the correction is made in a GNU+linux machine, so it seems like something worth fixing in python.  

How I discovered it:
I was reading through some posts on reddit when I came up on this one:
http://www.reddit.com/r/linux/comments/9jl2t/1_open_a_linux_terminal_2_enter_cal_9_1752_3_shit/
which seemed to state that in the September of 1752, they decided to skip from Wednesday the 2nd to Thursday the 14th.  Out of curiosity, I decided to see if Python had it recorded this way by typing in the following commands in python:

>>> import calendar
>>> calendar.TextCalendar().pryear(1752)

It was not corrected for the two versions of python I tried using (2.7 and 3.2).

----------
messages: 153635
nosy: bannerts
priority: normal
severity: normal
status: open
title: calendar bug related to September 2-14, 1752
type: behavior
versions: Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14048>
_______________________________________


More information about the New-bugs-announce mailing list