enyojs/moonstone — pull request #1523 by ehoogerbeets (2014-08-08 00:49:55+00:00)
Title: Persian (and other!) calendar support for the date picker and calendar picker

The Persian calendar picker and date picker now work properly with the correct lengths of months and leap years, etc. This PR requires enyo-ilib PR https://github.com/enyojs/enyo-ilib/pull/83 in order to work.

Theoretically, this change should support all calendars that ilib supports. I'll add a published property "calendar" at some later point so that you can choose alternate calendars. For now, you can only use the calendar that is default for the locale. (Thai -> thaisolar, Farsi for Iran and Afghanistan -> persian, everything else -> gregorian)