Skip to content

Commit

Permalink
build: build lib
Browse files Browse the repository at this point in the history
  • Loading branch information
lljj-x committed May 31, 2021
1 parent b5d2e88 commit 9de0eae
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -541,13 +541,13 @@ function parseDateString(dateString) {
}

return {
year: date.getUTCFullYear(),
month: f(date.getUTCMonth() + 1),
year: date.getFullYear(),
month: f(date.getMonth() + 1),
// oh you, javascript.
day: f(date.getUTCDate()),
hour: f(includeTime ? date.getUTCHours() : 0),
minute: f(includeTime ? date.getUTCMinutes() : 0),
second: f(includeTime ? date.getUTCSeconds() : 0)
day: f(date.getDate()),
hour: f(includeTime ? date.getHours() : 0),
minute: f(includeTime ? date.getMinutes() : 0),
second: f(includeTime ? date.getSeconds() : 0)
};
}

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -545,13 +545,13 @@
}

return {
year: date.getUTCFullYear(),
month: f(date.getUTCMonth() + 1),
year: date.getFullYear(),
month: f(date.getMonth() + 1),
// oh you, javascript.
day: f(date.getUTCDate()),
hour: f(includeTime ? date.getUTCHours() : 0),
minute: f(includeTime ? date.getUTCMinutes() : 0),
second: f(includeTime ? date.getUTCSeconds() : 0)
day: f(date.getDate()),
hour: f(includeTime ? date.getHours() : 0),
minute: f(includeTime ? date.getMinutes() : 0),
second: f(includeTime ? date.getSeconds() : 0)
};
}

Expand Down

Large diffs are not rendered by default.

0 comments on commit 9de0eae

Please sign in to comment.