mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 03:42:05 +02:00
History: improve human readable time format
This commit is contained in:
parent
10926644bf
commit
507441f8b6
@ -838,8 +838,18 @@ Rectangle {
|
|||||||
state: "copyable"
|
state: "copyable"
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
onEntered: parent.color = MoneroComponents.Style.orange
|
onEntered: {
|
||||||
onExited: parent.color = MoneroComponents.Style.defaultFontColor
|
parent.color = MoneroComponents.Style.orange
|
||||||
|
if (persistentSettings.historyHumanDates) {
|
||||||
|
parent.text = date + " " + time;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
onExited: {
|
||||||
|
parent.color = MoneroComponents.Style.defaultFontColor
|
||||||
|
if (persistentSettings.historyHumanDates) {
|
||||||
|
parent.text = dateHuman
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user