Suvish Varghese Thoovamalayil
2017-11-27 c276ecf7e6e9cc40656028f2ea69e1f2555d66c9
refs
author Suvish Varghese Thoovamalayil <suvisht@thoughtworks.com>
Monday, November 27, 2017 12:55 +0100
committer Simon Egersand <s.egersand@gmail.com>
Thursday, February 8, 2018 20:56 +0100
commitc276ecf7e6e9cc40656028f2ea69e1f2555d66c9
tree e9052b8e0602cadfd38611d059c987e1308e8f6b tree | zip | gz
parent 06f14d1e56e4ce24223b69ba8017a6443fc1d23d view | diff
Allow specifying viewDate as a prop, fixes #468

Optionally specify the month that is viewed when opening the date picker without having an explicit value set.
The default behavior of `viewDate` is retained as well.
6 files modified
90 ■■■■■ changed files
DateTime.d.ts 5 ●●●●● diff | view | raw | blame | history
DateTime.js 26 ●●●●● diff | view | raw | blame | history
README.md 1 ●●●● diff | view | raw | blame | history
react-datetime.d.ts 5 ●●●●● diff | view | raw | blame | history
test/testUtils.js 4 ●●●● diff | view | raw | blame | history
test/tests.spec.js 49 ●●●●● diff | view | raw | blame | history