I am not a clever man. There are 86400 seconds in a day. Fixes day display bug
This commit is contained in:
parent
cf9215ab85
commit
1bfce5e599
4 changed files with 6 additions and 6 deletions
|
@ -103,7 +103,7 @@ ApplicationWindow
|
|||
|
||||
// Divide uptime to days, hours and minutes
|
||||
function divideUptime(seconds) {
|
||||
var days = Math.floor(seconds / 84600);
|
||||
var days = Math.floor(seconds / 86400);
|
||||
var hours = Math.floor(seconds / 3600 % 24);
|
||||
var minutes = Math.floor(seconds / 60 % 60);
|
||||
return {
|
||||
|
|
|
@ -29,7 +29,7 @@ Page {
|
|||
|
||||
Label {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
text: "SailTime 1.1.1"
|
||||
text: "SailTime 1.1.2"
|
||||
color: Theme.highlightColor
|
||||
font.pixelSize: Theme.fontSizeLarge
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@ Name: harbour-sailtime
|
|||
%{!?qtc_make:%define qtc_make make}
|
||||
%{?qtc_builddir:%define _builddir %qtc_builddir}
|
||||
Summary: SailTime
|
||||
Version: 1.1.1
|
||||
Release: 2
|
||||
Version: 1.1.2
|
||||
Release: 1
|
||||
Group: Qt/Qt
|
||||
License: MIT Expat licence
|
||||
URL: http://example.org/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Name: harbour-sailtime
|
||||
Summary: SailTime
|
||||
Version: 1.1.1
|
||||
Release: 2
|
||||
Version: 1.1.2
|
||||
Release: 1
|
||||
Group: Qt/Qt
|
||||
URL: http://example.org/
|
||||
License: "MIT Expat licence"
|
||||
|
|
Loading…
Reference in a new issue