From ee37ce225b8b3e10bc10abb6ccce4baea4a16222 Mon Sep 17 00:00:00 2001 From: dirkf Date: Sat, 8 Mar 2025 23:30:46 +0000 Subject: [PATCH] x --- test/test_jsinterp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_jsinterp.py b/test/test_jsinterp.py index 3137daf1f..81b66716a 100644 --- a/test/test_jsinterp.py +++ b/test/test_jsinterp.py @@ -215,7 +215,7 @@ class TestJSInterpreter(unittest.TestCase): self.assertAlmostEqual(JSInterpreter( 'function f() { return new Date(%s); }' % ('2024, 5, 29, 2, 52, 12, 42',)).call_function('f'), - 1719625932042, places=0) + 1719625932042 + time.timezone * 1000, places=0) # no arg self.assertAlmostEqual(JSInterpreter( 'function f() { return new Date() - 0; }').call_function('f'),