10L now converts to 십리터
This commit is contained in:
parent
02b8a27c28
commit
079c621fe6
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ export function saferKorean(input: string): string {
|
||||||
mod = SIPrefix[mod.toLowerCase() as keyof typeof SIPrefix];
|
mod = SIPrefix[mod.toLowerCase() as keyof typeof SIPrefix];
|
||||||
return `${num} ${mod}바이트 `;
|
return `${num} ${mod}바이트 `;
|
||||||
})
|
})
|
||||||
.replace(/([\d,]+)([m]?)l\s/g, (_, num: string, mod: string) => {
|
.replace(/([\d,]+)([m]?)[lL]\s/g, (_, num: string, mod: string) => {
|
||||||
// 10l => 십리터
|
// 10l => 십리터
|
||||||
num = IntegerKorean.convertFromString(num);
|
num = IntegerKorean.convertFromString(num);
|
||||||
mod = LiterPrefix[mod as keyof typeof LiterPrefix];
|
mod = LiterPrefix[mod as keyof typeof LiterPrefix];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue