Can’t set default date format correctly

What I did: \date(default-format: YYYY-MM-DD)

What happened: 2024-03-69

What I expected: 2024-03-09

Things that might be helpful to know (Agenda version, OS and model, etc): Agenda Version 18.3.2 (295) - Mac App Store; macOS version 14.4; MacBook Pro M1 2020

I used the terminal command: defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "1” “yyyy-mm-dd” to try and force the right ISO8601 format everywhere in Sonoma.

Insert | Current Date does this as well.

See UTS #35: Unicode LDML: Dates, the correct format is yyyy-MM-dd, capitalisation matters as DD is the day of the year, not the day of the month

1 Like

Thank you; that worked.

Now I have something to read this afternoon.

1 Like