From 2a234f5a88819a732631e7845f6d6f019d25edeb Mon Sep 17 00:00:00 2001 From: LemmyCook Date: Mon, 25 Aug 2025 15:39:29 -0400 Subject: [PATCH] Bar Clock: Improved current date display. --- Commons/Time.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Commons/Time.qml b/Commons/Time.qml index f464a4b..062f5dc 100644 --- a/Commons/Time.qml +++ b/Commons/Time.qml @@ -18,7 +18,8 @@ Singleton { dayName = dayName.charAt(0).toUpperCase() + dayName.slice(1) let day = date.getDate() let month = date.toLocaleDateString(Qt.locale(), "MMM") - return timeString + " - " + dayName + ", " + day + " " + month + + return timeString + " - " + (Settings.data.location.reverseDayMonth ? `${dayName}, ${month} ${day}` : `${dayName}, ${day} ${month}`) } return timeString