The Clock status bar component accepts Unicode TR-35-style format strings. You can find the full spec here:
There is an important caveat: if the
Localize Date Format checkbox is on, then the code you enter may be transformed to localize properly in your locale. This is useful for the default value, but not generally desirable for custom format strings. Disable this setting your format does not look right.