ax5core version: 1.4.127
안녕하세요
아래에 이슈가 있는데 최신버젼에도 동일한 현상이 발생하여 올렸습니다.
아래의 코드를 실행하면 년도가 -1이 된 결과가 반환됩니다.
var date = new Date();//현재 2019년 1월 10일
ax5.util.date(new Date(date.getFullYear(), date.getMonth(), 1), {return : "yyyy-MM-dd"});
"2018-01-01"
ax5core의 nY = d.getUTCFullYear();에서 2019-01-01의 연도를 2018로 반환합니다.
확인 부탁드립니다.
ax5core version: 1.4.127 안녕하세요 아래에 이슈가 있는데 최신버젼에도 동일한 현상이 발생하여 올렸습니다. 아래의 코드를 실행하면 년도가 -1이 된 결과가 반환됩니다. var date = new Date();//현재 2019년 1월 10일 ax5.util.date(new Date(date.getFullYear(), date.getMonth(), 1), {return : "yyyy-MM-dd"});
"2018-01-01"
ax5core의 nY = d.getUTCFullYear();에서 2019-01-01의 연도를 2018로 반환합니다. 확인 부탁드립니다.