Closed Bug 310724 Opened 19 years ago Closed 19 years ago

Date gets wrong when creating an event before 1900 and letting it recur every 1 year

Categories

(Calendar :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 238632

People

(Reporter: a.ramkissoon, Assigned: mostafah)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20050203 Mozilla Sunbird/0.2

If an event with a date before 1900 is created and the recurrance is set to
"repeat every X year" (with X being any number). Then the date of every
recurrence after the year 1900 is wrong by one day.

Reproducible: Always

Steps to Reproduce:
1.Enter Einstein's birthday (14.03.1879) as an event
2.Set recurrence to "repeat every 1 year"
3.Look at the month March of an arbitrary year past 1900

Actual Results:  
The date of the event is wrong. Instead of the 14th of March, Einstein's
birthday is now on the 15th of March

Expected Results:  
Einsteins birthday being on the 14th of March
I tested this bug with Mozilla Sunbird NOT with any of the calender extensions
Summary: Date gets wrong when creating an event before 1900 and letting it recur every 1 year → Date gets wrong when creating an event before 1900 and letting it recur every 1 year
(In reply to comment #1)
> I tested this bug with Mozilla Sunbird NOT with any of the calender extensions

This is still a duplicate of bug 238623. Calendar and Sunbird share a large
amount of code.  This problem is caused by the same issue in each.



*** This bug has been marked as a duplicate of 238632 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.