Comments (2)
Sure it could have been 1-12..
But I kept it 0-11 to keep in line with JavaScript's months which are 0-11.
from react-dropdown-date.
That's a valid reason. I poked around online and found some interesting comments about it likely coming from C function implementation(Link to stack overflow discussion). That's why I was confused. Traditionally I've posted to my server side complete dates, but for some reason another developer used your library and posted the values from the components individually throwing everything a month back, but the days were correct. Thanks for getting back to me. I'll handle it in the javascript Date implementation.
from react-dropdown-date.
Related Issues (20)
- Infinite year dropdown HOT 2
- How to properly set default value with DropdownDate? HOT 2
- Semantic UI compatibility?
- Input displaying one day off HOT 4
- Invariant Violation: Text strings must be rendered within a <Text> component. HOT 2
- Update componentWillMount HOT 1
- change the default option values of month-picker to start a month with value 1. HOT 3
- endDate incorrectly evaluated if endDate is same year as startDate, HOT 2
- March and August do not have 31 as options for DayPicker HOT 3
- Focus a dropdown dynamically
- Year drop-down not working on safari HOT 1
- DatePicker with combined functionality - dropdowns height on mobile?
- disable console log
- i18next support for months options
- remove console log from your components
- unable to install in react js
- How to align input in horizontal?
- Number.parseInt is undefined on IE11 HOT 1
- Is it possible to change month names or numeric? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-dropdown-date.