pinojs / pino-pretty

🌲Basic prettifier for Pino log lines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Request] Allow overriding timezone

alex-statsig opened this issue · comments

My application sets the environment variable (TZ="UTC") to override the timezone to UTC so that local development time behaves similar to our production. I would like to still show log times in our local timezones for development though (PST). Could an option be added to allow specifying a certain timezone (rather than only system or UTC)?

Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests.

Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests.

Sure, I'll take a look!