We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00a5560 commit 191233cCopy full SHA for 191233c
1 file changed
app/workspace/page.tsx
@@ -42,12 +42,8 @@ export default function WorkspacePage() {
42
43
const convertDateLocal = (date: string) => {
44
const dateObj = new Date(date);
45
- // 9시간 더하기
46
- dateObj.setHours(dateObj.getHours() + 9);
47
- console.log(dateObj.toLocaleDateString())
48
- return dateObj.toLocaleDateString();
49
- }
50
-
+ return dateObj.toLocaleString('ko-KR', { timeZone: 'Asia/Seoul' });
+ };
51
// 자소서 & 이력서 목록 가져오기
52
// TODO : 이력서 API 완성되면 가져오기
53
const { data: coverLetterList, isLoading: coverLetterListLoading } = useQuery({
0 commit comments