summaryrefslogtreecommitdiffstats
path: root/views/calendar/qml/View.qml
diff options
context:
space:
mode:
Diffstat (limited to 'views/calendar/qml/View.qml')
-rw-r--r--views/calendar/qml/View.qml22
1 files changed, 22 insertions, 0 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml
index 2ceb6141..7fd6fa79 100644
--- a/views/calendar/qml/View.qml
+++ b/views/calendar/qml/View.qml
@@ -69,6 +69,28 @@ RowLayout {
69 width: parent.width 69 width: parent.width
70 spacing: Kube.Units.smallSpacing 70 spacing: Kube.Units.smallSpacing
71 71
72 Row {
73 spacing: Kube.Units.smallSpacing
74 Kube.Label {
75 anchors.verticalCenter: parent.verticalCenter
76 text: root.currentDate.getDate()
77 color: Kube.Colors.highlightedTextColor
78 font.pointSize: Kube.Units.defaultFontSize * 3
79 }
80 Column {
81 anchors.verticalCenter: parent.verticalCenter
82 Kube.Label {
83 text: root.currentDate.toLocaleString(Qt.locale(), "dddd")
84 color: Kube.Colors.highlightedTextColor
85 }
86 Kube.Label {
87 text: root.currentDate.toLocaleString(Qt.locale(), "MMMM yyyy")
88 color: Kube.Colors.highlightedTextColor
89 font.pointSize: Kube.Units.smallFontSize
90 }
91 }
92
93 }
72 Kube.Label { 94 Kube.Label {
73 text: "Week" 95 text: "Week"
74 color: Kube.Colors.highlightedTextColor 96 color: Kube.Colors.highlightedTextColor