Remove year from compact clock widget date part

Close #205
This commit is contained in:
MM20 2022-11-19 19:08:12 +01:00
parent cea524802e
commit 6f6636e1dc
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -56,7 +56,7 @@ class DatePartProvider : PartProvider {
} else {
val line1Format = DateFormat.getBestDateTimePattern(Locale.getDefault(), "EEEE")
val line2Format =
DateFormat.getBestDateTimePattern(Locale.getDefault(), "MMMM dd yyyy")
DateFormat.getBestDateTimePattern(Locale.getDefault(), "MMMM dd")
val format = SimpleDateFormat("$line1Format\n$line2Format")
Text(
text = format.format(time),