Simon Egersand
2016-11-17 98310dc9cb8c9545d66612d129c6c1f2c6d43620
refs
author Simon Egersand <s.egersand@gmail.com>
Thursday, November 17, 2016 22:52 +0100
committer Simon Egersand <s.egersand@gmail.com>
Thursday, November 17, 2016 23:05 +0100
commit98310dc9cb8c9545d66612d129c6c1f2c6d43620
tree 1c4dbfbe7206283c4b506add38bbe4dd6d4116f2 tree | zip | gz
parent 5756abdc368c07f2e793f9b7ae3a955bb982e4ae view | diff
Fix for months not being able to be rendered

When setting the locale prop the renderMonth method sometimes threw an
exception for not being able to get the months. This commit changes how
we get months, we are now getting them more correct. We're not relying
on some private method anymore.
2 files modified
50 ■■■■ changed files
src/MonthsView.js 12 ●●●●● diff | view | raw | blame | history
tests/datetime-spec.js 38 ●●●● diff | view | raw | blame | history