Bug 343130

Summary: Time format should be adjusted on the fly
Product: [Applications] kronometer Reporter: Elvis Angelaccio <elvis.angelaccio>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: RESOLVED FIXED    
Severity: normal CC: simonandric5
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 2.0.0

Description Elvis Angelaccio 2015-01-21 18:22:08 UTC
Kronometer does not adjust the stopwatch time format on the fly.

Reproducible: Always

Steps to Reproduce:
1. Open the settings dialog and set the stopwatch time format to hide hours and minutes.
2. Start the stopwatch
3. Let it run at least one minute

Actual Results:  
After the second 59, the seconds digits are resetted to zero. The user can only guess that a minute has passed.

Expected Results:  
Kronometer should adjust (i.e override) the stopwatch time format and display also the minutes digits.
Comment 1 Elvis Angelaccio 2015-07-21 12:21:40 UTC
Git commit 53d568b25ed8f4501535ea12e1fa5eee47714ddc by Elvis Angelaccio.
Committed on 21/07/2015 at 12:02.
Pushed by elvisangelaccio into branch 'frameworks'.

Implement adjustable time format

Override the time format when needed. Only minute and hours can be overriden,
since it's no more possible to display second fractions without seconds.
FIXED-IN: 2.0.0

M  +6    -9    autotests/testtimeformat.cpp
M  +3    -0    src/mainwindow.cpp
M  +65   -40   src/timedisplay.cpp
M  +14   -2    src/timedisplay.h
M  +31   -10   src/timeformat.cpp
M  +16   -16   src/timeformat.h

http://commits.kde.org/kronometer/53d568b25ed8f4501535ea12e1fa5eee47714ddc