From 2b81c7927ffb37510408d5eb27da8bbf21e2a6d1 Mon Sep 17 00:00:00 2001 From: mt3571 Date: Mon, 30 Nov 2020 13:27:32 +0000 Subject: [PATCH] Added in a new custom option for the DateTime format to allow the user to input their own format --- src/core/lib/DateTime.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/lib/DateTime.mjs b/src/core/lib/DateTime.mjs index 00a177c6..76aa92a9 100644 --- a/src/core/lib/DateTime.mjs +++ b/src/core/lib/DateTime.mjs @@ -15,6 +15,10 @@ export const UNITS = ["Seconds (s)", "Milliseconds (ms)", "Microseconds (μs)", * DateTime formats. */ export const DATETIME_FORMATS = [ + { + name: "Custom", + value: "" + }, { name: "Standard date and time", value: "DD/MM/YYYY HH:mm:ss"