mirror of https://github.com/webpack/webpack.git
Update Stats.js
This commit is contained in:
parent
f916fc0bb7
commit
bb2320cf13
|
|
@ -730,7 +730,13 @@ class Stats {
|
|||
if (typeof obj.builtAt === "number") {
|
||||
const builtAtDate = new Date(obj.builtAt);
|
||||
colors.normal("Built at: ");
|
||||
colors.normal(builtAtDate.toLocaleDateString());
|
||||
colors.normal(
|
||||
builtAtDate.toLocaleDateString({
|
||||
day: "2-digit",
|
||||
month: "2-digit",
|
||||
year: "numeric"
|
||||
})
|
||||
);
|
||||
colors.normal(" ");
|
||||
colors.bold(builtAtDate.toLocaleTimeString());
|
||||
newline();
|
||||
|
|
|
|||
Loading…
Reference in New Issue