Event starting at 0:00 displayed also the day before in day view

Bug #1279933 reported by ybon
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Calendar App
Fix Released
Medium
ybon

Bug Description

When I have an event that start at 0:00, it displayed both for the correct day and for the day before.
See attachment.

Related branches

Revision history for this message
ybon (yohanboniface) wrote :
Revision history for this message
ybon (yohanboniface) wrote :

Also in Week view, see attachment.

Revision history for this message
ybon (yohanboniface) wrote :

Patch attached.
This is a proposal.
Naming: I would suggest to rename midnight in startOfDay, to have a logic.
Tests: I haven't made any unittest, I still need to figure out how to run them before :)
(testrun.sh is expecting a "nexus" hostname and I'm not sure how to achieve this given that adb is running on localhost with a specific port. To be resolved :) )

Thanks for feedback :)

Revision history for this message
Kunal Parmar (pkunal-parmar) wrote :

HI Ybon,

I see you proposed patch, can you proposed Merge Request instead ?

Revision history for this message
ybon (yohanboniface) wrote :

Yep, for sure!
I was hopping to be able to run autopilot tests before, and to add one to prevent future regressions, but I'm still stuck on this side: if I use default packages of Saucy, tests fail because of not inheriting from the correct version of python-autopilot lib; if I try to use autopilot/experimental or autopilot/1.4 ppa, qmlscene freezes at each test (maybe, but not sure, because I'm unable to have the autopilot-desktop 1.4, which as a dependency on gir1 1.39, which is unavailable for Saucy) :/
I'm really uncomfortable with pushing things without running tests nor adding dedicated ones.
But in this case, which is supposed to be a small fix, do you want me to propose a MR anyway?

Revision history for this message
ybon (yohanboniface) wrote :
Olivier Tilloy (osomon)
Changed in ubuntu-calendar-app:
status: New → In Progress
assignee: nobody → ybon (yohanboniface)
David Planella (dpm)
Changed in ubuntu-calendar-app:
importance: Undecided → Medium
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-calendar-app at revision None, scheduled for release in ubuntu-calendar-app, milestone alpha-1

Changed in ubuntu-calendar-app:
status: In Progress → Fix Committed
Changed in ubuntu-calendar-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.