summaryrefslogtreecommitdiff
path: root/std/encoding
diff options
context:
space:
mode:
authortasshi / Masaharu TASHIRO <33759872+mshrtsr@users.noreply.github.com>2020-09-15 11:48:49 +0900
committerGitHub <noreply@github.com>2020-09-14 22:48:49 -0400
commit85b98f6dd8aaf63acef58fea904dd81f6e5cbaf6 (patch)
treeb7e5a41f3639141f92800375e3ac4ad1bf93403f /std/encoding
parent5819cfbeec6afeb280015df8f155ed9f325d7645 (diff)
fix typo miliseconds -> milliseconds (#7469)
Diffstat (limited to 'std/encoding')
-rw-r--r--std/encoding/_yaml/type/timestamp.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/encoding/_yaml/type/timestamp.ts b/std/encoding/_yaml/type/timestamp.ts
index 231908231..9379b907d 100644
--- a/std/encoding/_yaml/type/timestamp.ts
+++ b/std/encoding/_yaml/type/timestamp.ts
@@ -70,7 +70,7 @@ function constructYamlTimestamp(data: string): Date {
if (match[9]) {
const tzHour = +match[10];
const tzMinute = +(match[11] || 0);
- delta = (tzHour * 60 + tzMinute) * 60000; // delta in mili-seconds
+ delta = (tzHour * 60 + tzMinute) * 60000; // delta in milli-seconds
if (match[9] === "-") delta = -delta;
}