Skip to content

applets/digitalclock: only show separator with date

Reason for the change

The new separator in Digital Clock is always active if "Always beside time" is selected, even if the date is off. As a result, an orphaned separator will appear in that circumstance. While this has its own logic and can be fixed by selecting any other setting except "Always beside time", this is not very intuitive and does not look appealing.

Instead, only show the separator when there is an actual date to separate from the time.

Test plan

Visually confirm presence/absence of superfluous separator before and after patch.

Screenshots or screen recordings

Before After
nodate_before nodate_after

Bugs fixed

BUG: 499945 FIXED-IN: 6.3.1

Merge request reports

Loading