Commit 712bec5a authored by Tomaz  Canabrava's avatar Tomaz Canabrava Committed by Tomaz Canabrava

Use Qt.formatDate instead of creating a method for it

parent 29e0bf56
......@@ -75,7 +75,7 @@ Item {
text: {
var d = new Date(dataSource.data.Local.DateTime);
return plasmoid.nativeInterface.monthName(d);
return Qt.formatDate(d, "MMM");
}
visible: parent.width > 50
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment