r/ProgrammerHumor • • May 16 '20

The meaning of everything

Post image
35.0k Upvotes

533 comments sorted by

View all comments

Show parent comments

5

u/LiqdPT May 16 '20

Oh, and the ux that displays your logs might want to (at least give the option to) convert it to local time. Way easier to diagnose stuff if its easy to figure out that it happened "2.5 hours ago" or "15 min ago" without having to constantly do mental gymnastics.

2

u/kjb_linux May 16 '20

The client wants all dates and times in Eastern TZ, So that’s what they get, but in the data it’s all stored as UTC. They have users all over the US, Alaska and Hawaii to Florida and Maine.

The other systems i interface with have problems telling someone just exactly when something happened. Unless it’s a request from my system as I just find the transaction and use my sent to them and received from them log times. But if you are tracking a web initiated external request have fun with the inconsistencies in the dates and times.

1

u/TacobellSauce1 May 16 '20

As you stand there and the music.