FormData: std.Io.Clock.now -> lp.datetime.milliTimestamp

This commit is contained in:
Halil Durak committed 2026-07-29 12:51:49 +03:00
1 parent f4a98a9e68
commit dff92a6fb5
1 file changed
+1 -1
+1 -1
View File
@@ -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 };