Capitalize chat section dates.

Update SDK.
This commit is contained in:
Julien Wadel 2022-12-12 16:56:05 +01:00
parent 227aecb439
commit 7dc596c616
2 changed files with 3 additions and 1 deletions

View file

@ -151,10 +151,12 @@ Rectangle {
font {
bold: true
pointSize: ChatStyle.sectionHeading.text.pointSize
capitalization: Font.Capitalize
}
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
// Cast section to integer because Qt converts the
// sectionDate in string!!!
text: new Date(section).toLocaleDateString(

@ -1 +1 @@
Subproject commit 3a5f2c32145cc925dbc067f17d7d25c45fef1518
Subproject commit f38a4e0924571ff1597a2153920d80eb49a99b2a