fix get current date

This commit is contained in:
vchikalkin 2020-11-17 10:29:26 +03:00
parent b1484bbf8b
commit 814bb3ec0e

View File

@ -1,3 +1,3 @@
import { DateTime } from 'luxon';
export const currentDate = DateTime.local().toUTC().toJSDate().toDateString();
export const currentDate = DateTime.local().toUTC().toISO();