diff --git a/app/frontend/src/components/MogacoPost/index.tsx b/app/frontend/src/components/MogacoPost/index.tsx index e633d60f6..8ac97c602 100644 --- a/app/frontend/src/components/MogacoPost/index.tsx +++ b/app/frontend/src/components/MogacoPost/index.tsx @@ -1,11 +1,11 @@ +import dayjs from 'dayjs'; + import { Input, Button, Textarea } from '@/components'; import * as styles from './index.css'; export function MogacoPostPage() { - const today = new Date(); - const offset = today.getTimezoneOffset() * 60000; - const date = new Date(today.getTime() - offset).toISOString().slice(0, 16); + const date = dayjs(new Date()).format('YYYY-MM-DD HH:mm'); return (