aboutsummaryrefslogtreecommitdiff
path: root/demo/src/format-time.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--demo/src/format-time.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/demo/src/format-time.ts b/demo/src/format-time.ts
index a82b3b0..2afdcbf 100644
--- a/demo/src/format-time.ts
+++ b/demo/src/format-time.ts
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) Uri Shaked and contributors
+
function zeroPad(value: number, length: number) {
let sval = value.toString();
while (sval.length < length) {