diff --git a/README.md b/README.md index 3ee16d2..f5ffd90 100644 --- a/README.md +++ b/README.md @@ -176,11 +176,11 @@ Ideas for recursing child actors and assigning inline styles are based on code f - @HaselLoyance for toggle for notification counter badge - @rastersoft for Desktop Icons NG integration - @max-dw-i for symbolic icons -- @Hirnmoder for Beautify DTP +- @Hirnmoder for Beautify DTP and panel border - @JimBroad for grayscale icons #### Bug Fixes: -@imrvelj, @Teslator, @bil-elmoussaoui, @brandon-schumann, @sw9, @rockon999 , @lexruee, @3v1n0, @freeroot, @moqmar, @ArtyomZorin, @lkc0987, @saibotk, @vanillajonathan, @Zkdc, @leebickmtu, @l3nn4rt, @Melix19, @Aikatsui, @melix99, @kyrillzorin, @oneshadab, @CorvetteCole, @vantu5z, @spectreseven1138, @aperezdc, @smedir, @lucaxvi, @andyholmes, @vowstar, @T99Rots, @City-busz, @guoqiyi, @gcrabbe, @Anduin2017, @xalt7x, @Survolog +@imrvelj, @Teslator, @bil-elmoussaoui, @brandon-schumann, @sw9, @rockon999 , @lexruee, @3v1n0, @freeroot, @moqmar, @ArtyomZorin, @lkc0987, @saibotk, @vanillajonathan, @Zkdc, @leebickmtu, @l3nn4rt, @Melix19, @Aikatsui, @melix99, @kyrillzorin, @oneshadab, @CorvetteCole, @vantu5z, @spectreseven1138, @aperezdc, @smedir, @lucaxvi, @andyholmes, @vowstar, @T99Rots, @City-busz, @guoqiyi, @gcrabbe, @Anduin2017, @xalt7x, @Survolog, @TorosFanny #### Documentation Improvements: @BoQsc, @zakkak, @dandv, @elliotwutingfeng diff --git a/src/panel.js b/src/panel.js index 49beae3..2225921 100644 --- a/src/panel.js +++ b/src/panel.js @@ -1357,7 +1357,9 @@ export const Panel = GObject.registerClass( !setClockText(datetimeParts) && !setClockText(time) ) { - let timeParts = time.split(':') + // https://gitlab.gnome.org/GNOME/gnome-desktop/-/merge_requests/176 + let timeSeparator = time.indexOf('∶') > 0 ? '∶' : ':' + let timeParts = time.split(timeSeparator) if (!this._clockFormat) { this._clockFormat = DESKTOPSETTINGS.get_string('clock-format')