We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc089e8 commit ee82d38Copy full SHA for ee82d38
packages/scripts/src/bin/utils.ts
@@ -28,10 +28,8 @@ ${chalk.bold(gradient.instagram(` \\_/\\_/`))} ${chalk.magenta(
28
)}${chalk.bold.magenta(`${pkg.version}`)}`;
29
30
export function addTimeStampToLog(log: string): string {
31
- const date = new Date();
32
- return `${chalk.dim(
33
- `「wpack.io ${date.getHours()}:${date.getMinutes()}:${date.getSeconds()}」`
34
- )} ${log}`;
+ const time = new Date().toTimeString().split(' ')[0];
+ return `${chalk.dim(`「wpack.io ${time}」`)} ${log}`;
35
}
36
37
export const watchSymbol = `${logSymbols.info}`;
0 commit comments