korean localization translation HMS DMY format

Change-Id: Ib985256ec8d8e6d12dcee147b2324271b233ad34
This commit is contained in:
HyoBin Kim 2023-12-13 11:07:21 +09:00
parent 4d606d4742
commit 6480faa148

View File

@ -222,6 +222,26 @@ const init = () => {
yy: '%d yıl',
},
});
} else if (lang === 'ko-kr') {
// korean const option
moment.locale('ko', {
relativeTime: {
s: '1초',
ss: '%d초',
m: '1분',
mm: '%d분',
h: '1시간',
hh: '%d시간',
d: '1일',
dd: '%d일',
M: '1개월',
MM: '%d개월',
y: '1년',
yy: '%d년',
past: '%s 전',
future: '%s 후',
},
});
}
return { locales };