pinojs / pino-syslog

🌲 A transport for reformatting pino logs into standard syslog format
30 stars 12 forks source link

Solve bug leading zero on date format #7

Closed loic-b closed 5 years ago

loic-b commented 5 years ago

Previously, the RFC3164 formatters removed any zero in the date. The right thing to do is to remove only the first leading zero.

jsumners commented 5 years ago

https://github.com/pinojs/pino-syslog/releases/tag/v1.2.1