Skip to content

Commit 64f18a6

Browse files
committed
update.
1 parent e81c30f commit 64f18a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/time.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function getTime() {
22
let date = new Date();
3-
return '[' + date.toLocaleDateString() + ' ' + date.toLocaleTimeString() + ']';
3+
return ' [' + date.toLocaleDateString() + ' ' + date.toLocaleTimeString() + ']';
44
}
55

66
module.exports = getTime;

0 commit comments

Comments
 (0)