We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08cd98c commit 02b6f39Copy full SHA for 02b6f39
src/examples/src/flight-booker/App/composition.js
@@ -24,7 +24,7 @@ export default {
24
25
function stringToDate(str) {
26
const [y, m, d] = str.split('-')
27
- return new Date(+y, +m, +d)
+ return new Date(+y, m - 1, +d)
28
}
29
30
function dateToString(date) {
src/examples/src/flight-booker/App/options.js
@@ -1,6 +1,6 @@
1
2
3
4
5
6
0 commit comments