MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Time Zone

WebPagetest Forums

Full Version: Time Zone
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The page_data.csv file has the time that the test agent thinks it ran the test, but it doesn't include any time zone info. Is there a way to get the time zone of a test agent?

Also, the web server is hard-coded to EST. Is there any chance of having that become either dynamic or configurable?

Thanks,
James.
Actually, the web server runs on UTC and tries to figure out your time zone based on a javascript cookie. Where are you seeing EST results in the UI?

I'll see if there's anything I can do to override the times in the CSV with the UTC time that the test started.
Sorry, just realized this is in the hosted forum :-) The release I cut this week will have the dynamic timezone info (it's on the production server and in SVN).
That would be fantastic, thank you.

I'm just migrating us to 2.x, and I have to tell you it's so much nicer having the web server on Linux and the wonderful REST API you've put together.

Great job, and thank you very much for providing this software,
James.
Hi

Apparently i found some inconsistency. When agent timezone is set to anything different from UTC the timestamp reported in XML result ($xml->data->run->firstView->results->date) is wrong. Probably because the time saved in 1_IEWPG.txt file is saved as local agent time. As far as I correctly debugged this :-)

This is a problem because any automated tool that fetches test results from WPT Server is unaware of agent timezone that can change.
Do you happen to know if it was urlblast or wptdriver agent? The agents should use GMTime for everything and not write anything in local time so I'd like to fix that if I can track it down.
Hi,

I use urlBlast.
Thx - that was an easy fix: https://github.com/WPO-Foundation/webpag...e51b173e44

It'll be included in the next agent build which should be within a week or so (adding support for extracting arbitrary metrics from the page using js).
Reference URL's