Check time separator version

This commit is contained in:
Charles Gagnon
2025-07-29 09:50:30 -04:00
parent d2471ce2ef
commit 7d64244a04
2 changed files with 5 additions and 3 deletions

View File

@@ -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 - @HaselLoyance for toggle for notification counter badge
- @rastersoft for Desktop Icons NG integration - @rastersoft for Desktop Icons NG integration
- @max-dw-i for symbolic icons - @max-dw-i for symbolic icons
- @Hirnmoder for Beautify DTP - @Hirnmoder for Beautify DTP and panel border
- @JimBroad for grayscale icons - @JimBroad for grayscale icons
#### Bug Fixes: #### 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: #### Documentation Improvements:
@BoQsc, @zakkak, @dandv, @elliotwutingfeng @BoQsc, @zakkak, @dandv, @elliotwutingfeng

View File

@@ -1357,7 +1357,9 @@ export const Panel = GObject.registerClass(
!setClockText(datetimeParts) && !setClockText(datetimeParts) &&
!setClockText(time) !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) { if (!this._clockFormat) {
this._clockFormat = DESKTOPSETTINGS.get_string('clock-format') this._clockFormat = DESKTOPSETTINGS.get_string('clock-format')