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") {
|
if (typeof obj.builtAt === "number") {
|
||||||
const builtAtDate = new Date(obj.builtAt);
|
const builtAtDate = new Date(obj.builtAt);
|
||||||
colors.normal("Built at: ");
|
colors.normal("Built at: ");
|
||||||
colors.normal(builtAtDate.toLocaleDateString());
|
colors.normal(
|
||||||
|
builtAtDate.toLocaleDateString({
|
||||||
|
day: "2-digit",
|
||||||
|
month: "2-digit",
|
||||||
|
year: "numeric"
|
||||||
|
})
|
||||||
|
);
|
||||||
colors.normal(" ");
|
colors.normal(" ");
|
||||||
colors.bold(builtAtDate.toLocaleTimeString());
|
colors.bold(builtAtDate.toLocaleTimeString());
|
||||||
newline();
|
newline();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue