Vertical panel time ellipsis post-Gnome update (ASCII colon split)

After a Gnome update, the Dash-to-Panel plugin showed ellipses for time in vertical mode. Analysis revealed the hour - minute separator changed to an ASCII colon.

To fix this, I updated the code's delimiter to the ASCII colon. Post - modification, time display is back to normal, ensuring users see accurate time in vertical mode post - update.
This commit is contained in:
TorosFanny
2025-07-19 08:16:15 +08:00
committed by GitHub
parent ae5bc044a8
commit 73e6632c6d

View File

@@ -1357,7 +1357,7 @@ export const Panel = GObject.registerClass(
!setClockText(datetimeParts) && !setClockText(datetimeParts) &&
!setClockText(time) !setClockText(time)
) { ) {
let timeParts = time.split('') let timeParts = time.split(':')
if (!this._clockFormat) { if (!this._clockFormat) {
this._clockFormat = DESKTOPSETTINGS.get_string('clock-format') this._clockFormat = DESKTOPSETTINGS.get_string('clock-format')