mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
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:
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user