Skip to content

Conversation

@liijunwei
Copy link
Contributor

Fix #78

@liijunwei
Copy link
Contributor Author

Logger::Formatter::DatetimeFormat is "%Y-%m-%dT%H:%M:%S.%6N" and it doesn't include Timezone info.

If timezone info is required , we better add %Z formatter

e.g.

Time.now.strftime("%Y-%m-%dT%H:%M:%S.%6N %Z")
=> "2022-08-20T23:15:47.742414 CST"

@hsbt hsbt merged commit 019c6cf into ruby:master Oct 7, 2022
@liijunwei liijunwei deleted the fixdoc branch December 31, 2022 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inaccurate documentation

2 participants