Skip to content

Changes in macOS Monterey 12.4 Break the Script #9

@tech-otaku

Description

@tech-otaku
Owner

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

Activity

tech-otaku

tech-otaku commented on Jul 6, 2022

@tech-otaku
OwnerAuthor

Fixed. a6ba1ae

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @tech-otaku

        Issue actions

          Changes in macOS Monterey 12.4 Break the Script · Issue #9 · tech-otaku/menu-bar-clock