Skip to content

Commit

Permalink
fix: Make timeZone initial value undefined in lib/Stats.js
Browse files Browse the repository at this point in the history
Co-Authored-By: Tobias Koppers <tobias.koppers@googlemail.com>
  • Loading branch information
petetnt and sokra committed Oct 14, 2019
1 parent f523293 commit 009e47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Stats.js
Expand Up @@ -974,7 +974,7 @@ class Stats {
}
if (typeof obj.builtAt === "number") {
const builtAtDate = new Date(obj.builtAt);
let timeZone;
let timeZone = undefined;

try {
builtAtDate.toLocaleTimeString();
Expand Down

0 comments on commit 009e47c

Please sign in to comment.