Fix lint issues
| @@ -161,7 +161,7 @@ export function humanizedDateTime() { | ||
| 161 | 161 | const dt = { |
| 162 | 162 | year: now.getFullYear(), month: now.getMonth() + 1, day: now.getDate(), |
| 163 | 163 | hour: now.getHours(), minute: now.getMinutes(), second: now.getSeconds(), |
| 164 | 164 | }; |
| 165 | 165 | for (const key in dt) { |
| 166 | 166 | dt[key] = dt[key].toString().padStart(2, '0'); |
| 167 | 167 | } |
| @@ -756,7 +756,7 @@ function parseTimestamp(timestamp) { | ||
| 756 | 756 | |
| 757 | 757 | let iso8601; |
| 758 | 758 | for (const x of dtFmt) { |
| 759 | 759 | let rgxMatch = timestamp.match(x.pattern); |
| 760 | 760 | if (!rgxMatch) continue; |
| 761 | 761 | iso8601 = x.callback(...rgxMatch); |
| 762 | 762 | break; |