The latter is not specified in POSIX, and is not widely portable. We have to temporarily set LC_TIME to 'C', to get the output specified by RFC-2822.