Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
doubleplusgood
on April 27, 2017
|
parent
|
context
|
favorite
| on:
Ask HN: Best practices for log format?
My personal preference would be sans TZ, since everything I can control is set to UTC immediately.
ash
on April 27, 2017
|
next
[–]
Technically "Z" postfix is a TZ identifier for UTC time. It's short and makes the timestamp compatible with RFC 3399:
2017-04-27T09:43:04Z
ralmeida
on April 27, 2017
|
parent
|
next
[–]
Not only technically, but also practically, since many tools, libraries and service APIs accept and produce the Z as the TZ identifier for UTC.
lloeki
on April 27, 2017
|
prev
[–]
Minus bugs, and then having the TZ (even though it always should be Z) saves your bacon.
doubleplusgood
on April 27, 2017
|
parent
[–]
Agreed.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: