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 40f72e8 commit e114239Copy full SHA for e114239
src/datepicker/datepicker.stories.ts
@@ -25,7 +25,7 @@ storiesOf("Date Picker", module)
25
</ibm-date-picker>
26
`,
27
props: {
28
- value: array("value", ["01/01/2011"]),
+ value: array("value", [(new Date().getMonth() + 1) + "/" + new Date().getDate() + "/" + new Date().getFullYear()]),
29
valueChange: action("Date change fired!")
30
}
31
}))
@@ -42,8 +42,8 @@ storiesOf("Date Picker", module)
42
43
44
value: array("value", [
45
- "01/01/2011",
46
- "01/01/2012"
+ (new Date().getMonth() + 1) + "/" + new Date().getDate() + "/" + new Date().getFullYear(),
+ (new Date().getMonth() + 2) + "/" + new Date().getDate() + "/" + new Date().getFullYear()
47
]),
48
49
0 commit comments