3
내 코드 : angular2의 날짜 형식을 지정하는 방법은 무엇입니까?
this.nextDay = new Date();
var datePipe = new DatePipe('en-US')
this.presentDate = datePipe.transform(this.nextDay, 'YYYY-MM-DD H:mm:ss');
그러나 위의 코드와 함께, 내가 얻고
this.presentDate = yyyy-3-DD 23:04:99
내가 2017년 3월 23일 23시 9분 6초로 날짜를 원하지만, 여기에 내가 모르는 이유 yyyy있어?.
감사 driconmax .... – Tracker