Skip to content

[bug] HAR 时间戳显示异常 #2918

Description

@RonaldinhoL

我用reqable来展示我自己写的HAR发现reqable不能正常的显示时间戳字段

如下两个HAR, reqable显式的时间戳都是UTC+0
{
"log": {
"version": "1.2",
"creator": { "name": "tz-test", "version": "1.0" },
"entries": [
{
"startedDateTime": "2026-09-03T01:45:39.486Z",
"time": 100,
"request": { "method": "GET", "url": "https://example.com/", "httpVersion": "HTTP/2.0", "headers": [], "queryString": [], "cookies": [], "headersSize": -1, "bodySize": 0 },
"response": { "status": 200, "statusText": "OK", "httpVersion": "HTTP/2.0", "headers": [], "cookies": [], "content": { "size": 0 }, "redirectURL": "", "headersSize": -1, "bodySize": 0 },
"cache": {},
"timings": { "send": 0, "wait": 100, "receive": 0 }
}
]
}
}

Image

{
"log": {
"version": "1.2",
"creator": { "name": "tz-test", "version": "1.0" },
"entries": [
{
"startedDateTime": "2026-09-03T09:45:39.486+08:00",
"time": 100,
"request": { "method": "GET", "url": "https://example.com/", "httpVersion": "HTTP/2.0", "headers": [], "queryString": [], "cookies": [], "headersSize": -1, "bodySize": 0 },
"response": { "status": 200, "statusText": "OK", "httpVersion": "HTTP/2.0", "headers": [], "cookies": [], "content": { "size": 0 }, "redirectURL": "", "headersSize": -1, "bodySize": 0 },
"cache": {},
"timings": { "send": 0, "wait": 100, "receive": 0 }
}
]
}
}

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions