Skip to content

Commit bb2320c

Browse files
committed
Update Stats.js
1 parent f916fc0 commit bb2320c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/Stats.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,13 @@ class Stats {
730730
if (typeof obj.builtAt === "number") {
731731
const builtAtDate = new Date(obj.builtAt);
732732
colors.normal("Built at: ");
733-
colors.normal(builtAtDate.toLocaleDateString());
733+
colors.normal(
734+
builtAtDate.toLocaleDateString({
735+
day: "2-digit",
736+
month: "2-digit",
737+
year: "numeric"
738+
})
739+
);
734740
colors.normal(" ");
735741
colors.bold(builtAtDate.toLocaleTimeString());
736742
newline();

0 commit comments

Comments
 (0)