Re:At what time of day do famous programmers work?
by vomitcuddle on Thursday July 18, 2019 @10:35AM
(#20470220)
Unix time is always the number of seconds since 00:00:00 Thursday, 1 January 1970 UTC time. Git records the committer's time zone, since the time would normally be converted back into a human readable form.
Re:At what time of day do famous programmers work?
by Etheryte on Thursday July 18, 2019 @11:24AM
(#20470782)
This is a good example of the ages old falsehoods about time. You're mostly right, but you're missing leap seconds.
Re:At what time of day do famous programmers work?
by JDevlieghere on Thursday July 18, 2019 @11:23AM
(#20470771)
The one for Chris Lattner is definitely off: https://twitter.com/clattner_llvm/status/1150992062365310977
>> The timestamp is the number of seconds since 1st January 1970. If we convert 1563188141 to more human date we'll get "2019-07-15 10:55:41" — that is the time in UTC timezone. Then we add "03" hours and "00" minutes to that time and get "2019-07-15 13:55:41" — that is the time the commit author can see on his wall clock when he did commit.
Usually the +0300 indicates that the times tamp is at +3 hours from UTC. Eg. the timestamp is already in local wall time. The offset can be used to convert it to UTC.
So if the author did what they wrote. Then I reckon all the data is actually in UTC and not local wall time.