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