DamascenoRafael / reminders-menubar

Simple macOS menu bar application to view and interact with reminders. Developed with SwiftUI and using Apple Reminders as a source.
GNU General Public License v3.0
2.4k stars 111 forks source link

en_GB incorrectly resets to en_US for date pickers #173

Closed yunruse closed 7 months ago

yunruse commented 7 months ago
  2024-01-26 at 18 20 18

As can be seen, US-style date pickers are being used – the week starts on Sunday rather than Monday; the date is MM/DD/YYYY rather than DD/MM/YYYY – even though for this screenshot the language is set to en_GB. Because the localisation file is en.lproj, the following branch is followed no matter what, resetting localisation to en_US:

https://github.com/DamascenoRafael/reminders-menubar/blob/d92d2053aeaecea9471fc1409196da0ad3a42cdf/reminders-menubar/Resources/remindersLocalized.swift#L108-L110