Skip to content

Commit f04b081

Browse files
authored
Merge pull request #2304 from plotly/drop-tz
drop timezone from test_dashboard output
2 parents c842e99 + 6471256 commit f04b081

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tasks/util/common.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ exports.doesFileExist = function(filePath) {
4444
exports.formatTime = function(date) {
4545
return [
4646
date.toLocaleDateString(),
47-
date.toLocaleTimeString(),
48-
date.toString().match(/\(([A-Za-z\s\u4E00-\u9FCC].*)\)/)[1] // fix Chinese datetime string error. #1630
47+
date.toLocaleTimeString()
4948
].join(' ');
5049
};
5150

0 commit comments

Comments
 (0)