pinojs / pino-pretty

🌲Basic prettifier for Pino log lines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get EST time using pino-pretty

SudhirRamaniOD opened this issue · comments

I am trying with translateTime: 'EST:DD-MM-YYYY HH:MM:SS' but still getting UTC time only. Is there any workaround available in pino to get EST time?

THat's not supported by dateformat: https://www.npmjs.com/package/dateformat.
Only UTC: prefix is supported.

Is there any way around to get the EST time in pino?