mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-07-30 09:16:07 -04:00
FormData: std.Io.Clock.now -> lp.datetime.milliTimestamp
This commit is contained in:
@@ -617,7 +617,7 @@ fn parseMultipart(self: *FormData, page: *Page, bytes: []const u8, boundary: []c
|
||||
file.* = .{
|
||||
._proto = blob,
|
||||
._name = try blob._arena.dupe(u8, try decodeMultipartName(self._arena, filename)),
|
||||
._last_modified = std.Io.Clock.now(.real, lp.io).toMilliseconds(),
|
||||
._last_modified = @intCast(lp.datetime.milliTimestamp(.real)),
|
||||
};
|
||||
blob._type = .{ .file = file };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user