Skip to content

Changes in macOS Monterey 12.4 Break the Script #9

Closed
@tech-otaku

Description

@tech-otaku

Starting with macOS Monterey 12.4 Apple have made changes to the Show date option in System Preferences > Dock & Menu Bar > Clock. Previously, it was either checked or unchecked and set the value of the ShowDayOfMonth key in the com.apple.menuextra.clock domain to either true or false respectively. This key now appears redundant. Instead, the Show date option offers 3 new choices; when space allows, always and never which set the value of a new key named ShowDate in the com.apple.menuextra.clock domain to 0, 1 and 2 respectively.

The script uses the date format passed to it on the command line to set the correct values of the various keys in the com.apple.menuextra.clock and .GlobalPreferences domains, but is unable determine what the value of the ShowDate key should be using this method. Consequently, it may give unexpected results.

The script still functions correctly in all versions of macOS Big Sur 11 and versions of macOS Monterey up to and including 12.3.1.

Steve

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions