728x90
반응형
계속 거지같은 moment.js 경고 메시지가 노출된다.
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info

난 이런 경로 메시지를 안보고 싶다~ 이말이야..
해결방법은 말 그대로 안보이게 하면 된다.
코드는 이러하다
moment.suppressDeprecationWarnings = true;
이게 진정 정답인지는 모르겠지만..
안보이게 하고싶다면 이렇게 위의 코드를 기입하시길..!
728x90
반응형
'웹 & 앱 꿀 TIP' 카테고리의 다른 글
[MYSQL] 사용하고 싶은 alias 가 조건 명령어 일 때 (2) | 2023.12.06 |
---|---|
개발 시 내가 몰랐던 꿀 팁 (feat. JavaScript) (0) | 2023.09.02 |
moment .startof 안되는 현상 (0) | 2023.04.27 |
챗 GPT 요즘 대세? 쳇 (0) | 2023.03.31 |
[Java] Collections Map + concurrent Collections (4) | 2023.02.01 |