fix: поправил автоподстановку даты в форму редактирования лекции [#29]
All checks were successful
platform/bro/pipeline/head This commit looks good

This commit is contained in:
Primakov Alexandr Alexandrovich
2024-08-12 16:30:01 +03:00
parent 2d98b55bbc
commit 87c08e18bd
11 changed files with 221 additions and 186 deletions

3
src/utils/time.ts Normal file
View File

@@ -0,0 +1,3 @@
import dayjs from "dayjs";
export const dateToCalendarFormat = (date?: string) => dayjs(date).format('YYYY-MM-DDTHH:mm')