Printing list of events includes events from the day after date range end

UNCONFIRMED
Unassigned

Status

Calendar
Printing
UNCONFIRMED
7 years ago
7 years ago

People

(Reporter: Håvard Wigtil, Unassigned)

Tracking

Lightning 1.0

Details

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Build ID: 20110930134335

Steps to reproduce:

Litmus test https://litmus.mozilla.org/show_test.cgi?id=2654

Open print dialog and select date range, with some recurring events the day *after* the date range ends. The view is by default set to list view.


Actual results:

Recurring events from the day after the end date is included in the preview. This does not apply for non-recurring events.
If I focus the view selection drop-down and select list view again, then the dates in the preview will be correct.


Expected results:

No events from after the end date.
(Reporter)

Updated

7 years ago
Blocks: 702198

Comment 1

7 years ago
I think this depends on the timezone. It happens to me with all day events. However I cannot see it with normal event during the day.

Håvard could you add a screenshot of your calendar in that timeframe and list your timezone settings please.
(Reporter)

Comment 2

7 years ago
Created attachment 576087 [details]
Screenshot of calendar print dialog

I'm in time zone Europe/Oslo (GMT+1 atm).

When I tested this now I also get non-recurring events for the day after. The end date is the only thing I change after entering the print dialog, note that the list will recalculate itself to the correct events if I select "list view" again, so I'm guessing that there's something wrong with how the end date is calculated only if "end date" is modified.
Please ensure that you move the focus away from the end date edit field (e.g. click into the start date field) to ensure it will be taken over. Nothing will happen if you just type a new date but don't take it over.
(Reporter)

Comment 4

7 years ago
(In reply to Stefan Sitter from comment #3)
> Please ensure that you move the focus away from the end date edit field

I can see that the selection from end date takes effect when I'm having this problem. I'm using mouse input to select the end date, and the list is updated immediately after I select a new end date, but still with the events for the next day after end date.
You need to log in before you can comment on or make changes to this bug.