summaryrefslogtreecommitdiff
path: root/std/encoding
diff options
context:
space:
mode:
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;
}