From 4875a927af5cee240482b4f728d141074fc57f31 Mon Sep 17 00:00:00 2001 From: Renan Morais <85199450+renan-mzgroup@users.noreply.github.com> Date: Mon, 8 Aug 2022 21:58:25 -0300 Subject: [PATCH] error fixed --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 747db31..7369422 100644 --- a/index.html +++ b/index.html @@ -285,7 +285,7 @@ let date = $('#date').val() == '' ? new Date() : new Date($('#date').val()); date = date.toLocaleString($('#locales').val(), optionsDate); - optionsCode = `new Date(${$('#date').val() == '' ? '' : '"' + $('#date').val() + '"' }).toLocaleString("${$('#locales').val()"}${optionsCode})` + optionsCode = `new Date(${$('#date').val() == '' ? '' : '"' + $('#date').val() + '"' }).toLocaleString("${$('#locales').val()}"${optionsCode})` $('.js-output').html(date); $('.js-output-code').removeClass('d-none').html(optionsCode);