diff --git a/locust/stats.py b/locust/stats.py index 90b90a18b9..745360b397 100644 --- a/locust/stats.py +++ b/locust/stats.py @@ -791,7 +791,7 @@ def stats_history(runner): break if runner.state != "stopped": r = { - "time": datetime.datetime.now().strftime("%H:%M:%S"), + "time": datetime.datetime.utcnow().strftime("%H:%M:%S"), "current_rps": stats.total.current_rps or 0, "current_fail_per_sec": stats.total.current_fail_per_sec or 0, "response_time_percentile_95": stats.total.get_current_response_time_percentile(0.95) or 0, diff --git a/locust/templates/report.html b/locust/templates/report.html index 98949431fd..94b88174e3 100644 --- a/locust/templates/report.html +++ b/locust/templates/report.html @@ -44,7 +44,7 @@
During: {{ start_time }} - {{ end_time }}
+During: {{ start_time }} - {{ end_time }}
Target Host: {{ host }}
@@ -219,6 +219,14 @@