Closed
Bug 289725
Opened 20 years ago
Closed 20 years ago
day view initially does not show items before current time [trunk]
Categories
(Calendar :: Sunbird Only, defect)
Calendar
Sunbird Only
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gekacheka, Assigned: mostafah)
Details
(Keywords: regression)
Attachments
(1 file)
|
1.37 KB,
patch
|
mvl
:
first-review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050406 Firefox/1.0.3 Build Identifier: trunk When first starting sunbird, day view does not show any items before the current time. Long events than span the current time are shown starting at the current time. Reproducible: Always Steps to Reproduce: 1. Create an event "longEvent" from 01:00-23:00 today 2. go to day view 3. exit sunbird 4. restart sunbird Actual Results: "longEvent" starts displaying at the current time. Expected Results: "longEvent" starts displaying at 01:00
Keywords: regression
(patch -l -p 2 -i file.patch) Problem is that refreshEvents was calling getSelectedDate but was not zeroing the time of day. When calendar first starts, the selected time is now. This patch zeros the time of day before using it as the start of the day. (The time of day is significant for other uses, such as creating a new event, so it is not appropriate to change getSelectedDate to zero the time, at least not without providing an alternative and changing all the callers that depend on the time.)
Attachment #180213 -
Flags: first-review?(mvl)
Updated•20 years ago
|
Attachment #180213 -
Flags: first-review?(mvl) → first-review+
Comment 2•20 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
QA Contact: gurganbl → sunbird
You need to log in
before you can comment on or make changes to this bug.
Description
•