Hi Caleb, this API does not exist. The data api is giving timestamps in UTC timezone to avoid all the timezone headackes. But in order to synchronize master and another computer, I would recommend to just synchronize them using NTP. https://en.wikipedia.org/wiki/Network_Time_Protocol It is usually rather easy to setup that.
Regards Pierre On Sat, Jan 27, 2018 at 12:03 AM Caleb Crome <[email protected]> wrote: > Hi there, > I'm writing a little app that watches builders and builds. I want > to know how long it's been since the build started. However, I can't > find anywhere in the v2 api that tells what time the server thinks it > is. Of course, I can use my local computer's time to compare against, > but if my local computer and the master's clock are set wrong, then > the delta will be totally wrong. > > I'd prefer to get the 'started_at' and 'current_time' both from the > master, rather than get 'started_at' from the master, and > 'current_time' from my local computer. > > does that exist in the API? I couldn't find it. > > Thanks, > -Caleb > _______________________________________________ > users mailing list > [email protected] > https://lists.buildbot.net/mailman/listinfo/users >
_______________________________________________ users mailing list [email protected] https://lists.buildbot.net/mailman/listinfo/users
