http://gitunderground.i2p/archive/youtube-dl/commit/420d53387cff54ea1fccca061438d59bdb50a39c
_test ( jsi , 1719625932042 ) jsi = JSInterpreter ( ' function f() { return new Date( %s ); } ' % ( ' 2024, 5, 29, 2, 52, 12, 42 ' , ) ) self . _test ( jsi , ( 1719625932042 # UK value + ( + 3600 # back to GMT + ( time . altzone if time . daylight # host's DST else time . timezone ) ) * 1000 ) ) # no arg self . assertAlmostEqual ( JSInterpreter ( ' function f() { return new Date() - 0; } ' ) . call_function ( ' f ' ) , @@ -485,6 +492,14 @@ class TestJSInterpreter(unittest.TestCase): self ....