Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
712bec5a
Commit
712bec5a
authored
Nov 18, 2020
by
Tomaz Canabrava
Committed by
Tomaz Canabrava
Nov 24, 2020
Browse files
Use Qt.formatDate instead of creating a method for it
parent
29e0bf56
Changes
1
Hide whitespace changes
Inline
Side-by-side
applets/calendar/package/contents/ui/main.qml
View file @
712bec5a
...
...
@@ -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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment