diff --git a/resources/js/components/content/partials/fields/show/DaysCheckbox.vue b/resources/js/components/content/partials/fields/show/DaysCheckbox.vue new file mode 100644 index 0000000..380faf5 --- /dev/null +++ b/resources/js/components/content/partials/fields/show/DaysCheckbox.vue @@ -0,0 +1,26 @@ + + + + + \ No newline at end of file diff --git a/resources/js/components/content/partials/fields/show/ShowStartEndTime.vue b/resources/js/components/content/partials/fields/show/ShowStartEndTime.vue new file mode 100644 index 0000000..bb041ba --- /dev/null +++ b/resources/js/components/content/partials/fields/show/ShowStartEndTime.vue @@ -0,0 +1,133 @@ + + + + + \ No newline at end of file diff --git a/resources/js/components/content/partials/show/ShowScheduleForm.vue b/resources/js/components/content/partials/show/ShowScheduleForm.vue new file mode 100644 index 0000000..693e9a0 --- /dev/null +++ b/resources/js/components/content/partials/show/ShowScheduleForm.vue @@ -0,0 +1,70 @@ + + + + + \ No newline at end of file diff --git a/resources/js/helpers/DateFormatter.ts b/resources/js/helpers/DateFormatter.ts new file mode 100644 index 0000000..dfb75f5 --- /dev/null +++ b/resources/js/helpers/DateFormatter.ts @@ -0,0 +1,3 @@ +export function dateFormatter(date: Date = new Date()): string { + return `${date.getFullYear()}-${(date.getMonth() + 1).toString().padStart(2, '0')}-${date.getDate().toString().padStart(2, '0')}`; +} \ No newline at end of file