Created
March 10, 2020 08:45
-
-
Save hmmhmmhm/4dad8a45164826769e12e581c7fbcd16 to your computer and use it in GitHub Desktop.
moment ts, typescript 한국어 설정 (모멘트 타입스크랩트 한국어 설정 방법)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "moment/locale/ko" | |
import * as moment from 'moment' | |
moment.locale('ko') | |
console.log(moment.default().format('MM-DD ddd')) // 03-10 화 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment