
21 Nov
2021
21 Nov
'21
1:18 p.m.
On Sun, Nov 21, 2021 at 10:13:53AM -0800, Hilco Wijbenga wrote:
I just started using "logging" (https://hackage.haskell.org/package/logging) which is based on "fast-logger" (https://hackage.haskell.org/package/fast-logger). It all works fine except that the timestamp in the log message is output as UTC. I would like it to use my local (i.e. system) TZ.
It sounds really unwise to log timestamps in anything in other than UTC. If you want to see the logged times in your local timezone then why not apply that conversion when you read the log?