fix(time): correct export data timestamp conversions (#586)

This commit is contained in:
Roger authored and GitHub committed 2026-04-23 20:39:56 +08:00
1 parent 0c6c781567
commit 50c4ea84cb
14 files changed
+228 -30

No files matched your search

+2 -2
View File
@@ -36,8 +36,8 @@ func extractCookies(path string) ([]types.CookieEntry, error) {
IsHTTPOnly: isHTTPOnly != 0,
HasExpire: hasExpire,
IsPersistent: hasExpire,
ExpireAt: timestamp(expiry),
CreatedAt: timestamp(createdAt / 1000000),
ExpireAt: firefoxSeconds(expiry),
CreatedAt: firefoxMicros(createdAt),
}, nil
})
if err != nil {