diff --git a/examples/official-storybook/stories/addon-knobs.stories.js b/examples/official-storybook/stories/addon-knobs.stories.js index d5ddfd0e7a55..50fda6c4d24e 100644 --- a/examples/official-storybook/stories/addon-knobs.stories.js +++ b/examples/official-storybook/stories/addon-knobs.stories.js @@ -68,7 +68,7 @@ storiesOf('Addons|Knobs.withKnobs', module) const nice = boolean('Nice', true); // NOTE: the default value must not change - e.g., do not do date('Label', new Date()) or date('Label') - const defaultBirthday = new Date('Jan 20 2017'); + const defaultBirthday = new Date('Jan 20 2017 GMT+0'); const birthday = date('Birthday', defaultBirthday); const intro = `My name is ${name}, I'm ${age} years old, and my favorite fruit is ${fruit}.`; @@ -124,7 +124,7 @@ storiesOf('Addons|Knobs.withKnobsOptions', module) const nice = boolean('Nice', true); // NOTE: the default value must not change - e.g., do not do date('Label', new Date()) or date('Label') - const defaultBirthday = new Date('Jan 20 2017'); + const defaultBirthday = new Date('Jan 20 2017 GMT+0'); const birthday = date('Birthday', defaultBirthday); const intro = `My name is ${name}, I'm ${age} years old, and my favorite fruit is ${fruit}.`;