Calculate days remaining from stored date
This commit is contained in:
parent
4d11c90709
commit
d3ea32dfca
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ Kirigami.ApplicationWindow {
|
||||||
Kirigami.Heading {
|
Kirigami.Heading {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
level: 1
|
level: 1
|
||||||
text: date
|
text: i18n("%1 days", Math.round((date-Date.now())/86400000))
|
||||||
}
|
}
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
Kirigami.Heading {
|
Kirigami.Heading {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue