1
0

qml: fix wrong year near newyear in transaction list

This commit is contained in:
Sander van Grieken
2023-11-24 10:53:02 +01:00
parent f602b2bbed
commit 6f9e86a1ac

View File

@@ -179,7 +179,7 @@ class QETransactionListModel(QAbstractListModel, QtEventListener):
'yesterday': '%H:%M:%S', 'yesterday': '%H:%M:%S',
'lastweek': '%a, %H:%M:%S', 'lastweek': '%a, %H:%M:%S',
'lastmonth': '%a %d, %H:%M:%S', 'lastmonth': '%a %d, %H:%M:%S',
'older': '%G-%m-%d %H:%M:%S' 'older': '%Y-%m-%d %H:%M:%S'
} }
if section not in dfmt: if section not in dfmt:
section = 'older' section = 'older'