We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c842e99 + 6471256 commit f04b081Copy full SHA for f04b081
tasks/util/common.js
@@ -44,8 +44,7 @@ exports.doesFileExist = function(filePath) {
44
exports.formatTime = function(date) {
45
return [
46
date.toLocaleDateString(),
47
- date.toLocaleTimeString(),
48
- date.toString().match(/\(([A-Za-z\s\u4E00-\u9FCC].*)\)/)[1] // fix Chinese datetime string error. #1630
+ date.toLocaleTimeString()
49
].join(' ');
50
};
51
0 commit comments