I've figured out how to pretty-print the logs in fastify
:
const server = fastify({
logger: {
prettyPrint: __DEV__ && {
translateTime: 'h:MM:ss TT',
colorize: true,
ignore: 'pid,hostname'
},
},
})
But the time is in UTC. How can I get it in my local time or specify a timezone?