This commit is contained in:
willclarktech
2021-05-19 15:37:25 +02:00
parent 00cfc1d1c4
commit bd48014699
28 changed files with 116 additions and 132 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
import { ReadonlyDate } from "readonly-date";
const rfc3339Matcher = /^(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(\.\d{1,9})?((?:[+-]\d{2}:\d{2})|Z)$/;
const rfc3339Matcher =
/^(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(\.\d{1,9})?((?:[+-]\d{2}:\d{2})|Z)$/;
function padded(integer: number, length = 2): string {
const filled = "00000" + integer.toString();