Skip to content

TextLayout::default() and JsonLayout::default() have timezone names #169

@nine9ths

Description

@nine9ths

I'm using TextLayout::default() and JsonLayout::default() and all my timestamps come out with the full timezone name in addition to the offset.

E.g. "[America/Los_Angeles]" in

2025-09-24T17:21:07.243627-07:00[America/Los_Angeles]  INFO ******: main.rs:123 logging DEBUG to STDERR
{"timestamp":"2025-09-24T17:29:20.495731-07:00[America/Los_Angeles]","level":"INFO","target":"******","file":"****/main.rs","line":123,"message":"logging DEBUG to STDERR","kvs":{}}

I don't see that in any of the examples, am I missing some option to enable/disable that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions