Skip to content

Commit 4c6ea91

Browse files
committed
cross-platform: fix biops test output for xplat
1 parent 10fbe7b commit 4c6ea91

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/Operators/biops.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
44
//-------------------------------------------------------------------------------------------------------
55

6-
function write(v) { WScript.Echo(v + ""); }
6+
function write(v) {
7+
v = (v + "").replace(/\(PST\)/g, "(Pacific Standard Time)")
8+
.replace(/\(PDT\)/g, "(Pacific Daylight Time)");
9+
10+
WScript.Echo(v + "");
11+
}
712

813
function foo() {}
914
var d = new Date("Thu Aug 5 05:30:00 PDT 2010");

0 commit comments

Comments
 (0)