Giter Club home page Giter Club logo

ax5core's People

Contributors

90majh avatar aeei avatar derren-korean avatar dongyoung86 avatar groovedk avatar hyunjun19 avatar leehan0617 avatar mojosoeun avatar thomasjang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ax5core's Issues

ax5.util.date 첫 번째 인자 값으로 1월 1일 오전 9시 미만 시간 사용시 이슈

ax5core version: 1.4.121

아래의 코드를 실행하면 년도가 -1이 된 결과가 반환됩니다.

ax5.util.date(new Date(2018, 0, 1), {return: "yyyy-MM-dd"});

"2017-01-01"

ax5.util.date의 첫 번째 인자 값이 문자열로 생성된 new Date("2018-01-01") 또는 "2018-01-01"의 경우 정상적인 결과를 반환합니다. 년/월/일 인자 값을 전달 받아 생성된 1월 1일 Date 객체가 ax5.util.date에 의해서 년도 값을 반환하는 경우에만 문제가 발생하는 것 같습니다.

안녕하세요 ax5.util.date 관련해서 이슈 문의드립니다.

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로 반환합니다.
확인 부탁드립니다.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.