Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Discover
Commits
a71b7eec
Commit
a71b7eec
authored
Dec 17, 2020
by
Tibor Nagy
Browse files
Do not hardcode date formats in ReviewDelegate
Respect the users' regional settings.
parent
1cbb2a17
Changes
1
Hide whitespace changes
Inline
Side-by-side
discover/qml/ReviewDelegate.qml
View file @
a71b7eec
...
...
@@ -65,7 +65,7 @@ RowLayout {
Label
{
Layout.fillWidth
:
true
horizontalAlignment
:
Text
.
AlignRight
text
:
date
.
toLocaleDateString
(
Qt
.
locale
(),
"
MMMM d yyyy
"
)
text
:
date
.
toLocaleDateString
(
Qt
.
locale
(),
Locale
.
LongFormat
)
elide
:
Text
.
ElideRight
opacity
:
0.6
}
...
...
Write
Preview
Supports
Markdown
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