mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 19:32:03 +02:00
Merge pull request #2095
507441f
History: improve human readable time format (selsta)
This commit is contained in:
commit
528aba8724
@ -878,8 +878,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