Closed Bug 413656 Opened 16 years ago Closed 16 years ago

Future events/tasks are reported to be 'today' in alarms

Categories

(Calendar :: Alarms, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: giermann, Assigned: giermann)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Build Identifier: Lightning 0.8pre (build 2008012119)

When you receive multiple alarms, the relative date of future events or tasks displays always 'today'.

Reproducible: Always

Steps to Reproduce:
1. Create one event tomorrow to be alarmed one day before it starts
2. Create another event the day after tomorrow (same time) to be alarmed two days before it starts
3. Wait or see both alarms
Actual Results:  
The one that is not activated will show 'today at ....' instead of 'tomorrow' or the correct date.

Expected Results:  
Show the correct date or 'tomorrow'.

This was introduced with attachment #291209 [details] [diff] [review] (bug #341576)
Attachment #298706 - Flags: review?(philipp)
Comment on attachment 298706 [details] [diff] [review]
Added check for start times in future

I did not check for the start date to be 'tomorrow' because of the string freeze for 0.8 !
Otherwise it would be nice to read 'tomorrow 15:00'...
Comment on attachment 298706 [details] [diff] [review]
Added check for start times in future

Works as advertised, please file a follow up bug for the "tomorrow" string and take care after the release.
Attachment #298706 - Flags: review?(philipp) → review+
Assignee: nobody → giermann
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Checked in on HEAD and MOZILLA_1_8_BRANCH

-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.8
Checked in latest lightning and sunbird builds (20080128) -> task is fixed and verified.
Status: RESOLVED → VERIFIED
VERIFIED FIXED Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Lightning/0.8pre (2008012818) Thunderbird/2.0.0.9 ID:2007103104
You need to log in before you can comment on or make changes to this bug.