On macOS 12 or earlier, if your clocks don't use the system time format despite you set them to use the "System setting" format, you should make sure you have thoroughly customized times in System Preferences.
Open System Preferences, and then click Language & Region.
Click the Advanced button, and then the Times tab.
Edit the Medium time format so that it is consistent with the Short format and click OK.