Closed Bug 339882 Opened 18 years ago Closed 17 years ago

filter by date makes certain dates impossible

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: alvolas, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3

Today (31.5.2006, 31st of May 2006) I tried to create a filter rule to delete all mail after 24.5.2006 and before 6.6.2006. Inputting the data went without any problems, after pressing "edit" again to check up on the filter rule, somehow my date 6.6.2006 was changed to 6.7.2006. I couldn't get the date to stay on the Month June, it always changed to 7, July. 

I posted this in the german Thunderbird Forum and a nice person could recreate this exact behavior, and could narrow it down a bit -> every month wiht less than 31 days (february, april, june, september, november) could not be set as a date in the filter.

The funny thing is, as soon as the actual date switched from 31.5.2006 to 1.6.2006 (here this was about an hour ago), the filter accepted all months without any trouble. Setting the PC-Clock back to 31.5.2006 recreated the falseful behaviour of not being able to create a filter with a date from a month with less than 31 days.

Reproducible: Always

Steps to Reproduce:
1.Set your date to 31.5.2006
2.Create any Filter-Rule with date 1.6.2006
3.Close Filter-Creation-Window
4.Select newly created filter
5.Press edit to edit filter

Actual Results:  
Date shown in the Filter-rule is no longer the 1.6.2006 but the 1.7.2006


Expected Results:  
The Filter-Rule should not change the month forcefully to another.

This bug could be reproduced with:
- Thunderbird 1.5.0.2
- Thunderbird 2.0 a1
- Thunderbird 3.0 a1
Further testing showed that the error only occurs when the OS-Date is set to the 31st of a month.
Just in case my previous statement wasn't clear enough:
The error seems to occur on every 31st day of any month which has 31 days.
I reproduced this behavior with the german Thunderbird Version 1.5.0.2 (20060308) on Windows XP. I testet a bit more and the behavior occurs only on every 31st of a month (31st of January, 31st of March, 31st of May,...)
See bug 228868.

What's your Windows short-date format?
Summary: filter by date makes certain dats impossible → filter by date makes certain dates impossible
> What's your Windows short-date format?
Mine is DD.MM.YY
While it's reproduceable with Thunderbird 1.5.0.2, 
WFM with Thunderbird 2.0.0.9.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.