Bug 251316 - In maintenance view, duration sometimes shown as "0 milliseconds"
Summary: In maintenance view, duration sometimes shown as "0 milliseconds"
Status: VERIFIED FIXED
Alias: None
Product: KOrganizer Mobile
Classification: Applications
Component: calendar (show other bugs)
Version: unspecified
Platform: Maemo 5 Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-15 13:39 UTC by Felix Wolfsteller
Modified: 2011-02-16 09:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Wolfsteller 2010-09-15 13:39:33 UTC
For some events ("whole day"-events?), the duration is shown as "0 milliseconds" in the maintenance view.

Few user might be interested in millisecond events, especially when its 0.

Seen in version 4:4.5~20100910.1175286-1maemo5.1174786 .
Comment 1 Felix Wolfsteller 2010-09-27 12:39:15 UTC
Confirmed that it happens for "Whole day" events, persists in  4:4.5~20100927.1180086-1maemo1.1179477 .
Comment 2 Bertjan Broeksema 2010-10-07 12:07:28 UTC
SVN commit 1183390 by bbroeksema:

Fix duration formatting in the listview of the calendar app. Take in account
that an Incidence can be a todo as well. (No support for the other incidence
types yet, though).

BUG: 251316


 M  +1 -1      EventListView.qml  
 M  +28 -7     eventlistproxy.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1183390
Comment 3 Bertjan Broeksema 2010-10-07 14:47:25 UTC
SVN commit 1183454 by bbroeksema:

Use the durationString method from KCalUtils::IncidenceFormatter

CCBUG: 251316
CCMAIL: winter@kde.org


 M  +5 -26     eventlistproxy.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1183454
Comment 4 Felix Wolfsteller 2010-10-08 12:21:18 UTC
Confirming fix, version 4:4.5~20101008.1183623-1maemo1.1182955 .