Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
Plasma Workspace
Commits
1e8168ad
Commit
1e8168ad
authored
Nov 18, 2020
by
Tomaz Canabrava
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also display time on the clock thumbnail
parent
07cf18a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
applets/analog-clock/contents/ui/analogclock.qml
applets/analog-clock/contents/ui/analogclock.qml
+2
-1
No files found.
applets/analog-clock/contents/ui/analogclock.qml
View file @
1e8168ad
...
...
@@ -43,7 +43,8 @@ Item {
Plasmoid.preferredRepresentation
:
Plasmoid
.
compactRepresentation
Plasmoid.toolTipMainText
:
Qt
.
formatDate
(
dataSource
.
data
[
"
Local
"
][
"
DateTime
"
],
"
dddd
"
)
Plasmoid.toolTipSubText
:
Qt
.
formatDate
(
dataSource
.
data
[
"
Local
"
][
"
DateTime
"
],
Qt
.
locale
().
dateFormat
(
Locale
.
LongFormat
).
replace
(
/
(
^dddd.
?\s)
|
(
,
?\s
dddd$
)
/
,
""
))
Plasmoid.toolTipSubText
:
Qt
.
formatTime
(
dataSource
.
data
[
"
Local
"
][
"
DateTime
"
],
"
hh:mm
"
)
+
"
\n
"
+
Qt
.
formatDate
(
dataSource
.
data
[
"
Local
"
][
"
DateTime
"
],
Qt
.
locale
().
dateFormat
(
Locale
.
LongFormat
).
replace
(
/
(
^dddd.
?\s)
|
(
,
?\s
dddd$
)
/
,
""
))
PlasmaCore.DataSource
{
id
:
dataSource
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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