Time format in log

It see that builtin log formats as well as the log-format option uses %t to log the time of the transaction.
From the documentation:

| | %t | date_time (with millisecond resolution) | date |

This produces this in the my log files:

How do I configure the time/date format? I’d much prefer the year first:

Thanks in advance.