From 814bb3ec0e277b8a4664eba4262616e1068ccea3 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Tue, 17 Nov 2020 10:29:26 +0300 Subject: [PATCH] fix get current date --- src/client/tools/date.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/tools/date.js b/src/client/tools/date.js index 67a018d..bfe52ff 100644 --- a/src/client/tools/date.js +++ b/src/client/tools/date.js @@ -1,3 +1,3 @@ import { DateTime } from 'luxon'; -export const currentDate = DateTime.local().toUTC().toJSDate().toDateString(); +export const currentDate = DateTime.local().toUTC().toISO();