From 46921f9a29552ac34edaeebdb815d6466955c60c Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Mon, 20 Jan 2025 05:59:20 +0100 Subject: Fix Web time --- index.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.htm') diff --git a/index.htm b/index.htm index 1207f79..e610586 100644 --- a/index.htm +++ b/index.htm @@ -43,7 +43,7 @@ text_buffer : text_buffer, }); }, - p_time_impl : Date.now, + p_time : () => { return BigInt(Date.now()); }, floor : Math.floor, ceil : Math.ceil, @@ -276,7 +276,7 @@ { env : { p_clipboard_write_impl : () => {}, - p_time_impl : () => {}, + p_time : () => {}, floor : () => {}, ceil : () => {}, trunc : () => {}, -- cgit v1.2.3