themouette/jquery-week-calendar — Issue #92: option 'use24Hour' not compatible to be set using data- notation in html
Author: robotdan
Created: 2011-10-25 19:05:13+00:00
State: open

This isn't really a bug but more of a feature request I suppose.

The calendar option **'use24Hour'** because does not seem to be compatible with the data- notation to embed options in html.
( doc https://github.com/themouette/jquery-week-calendar/wiki/Script-options )

I'd like to be able to allow a user to change this default option by specifying the data- value in the div tag.

Example:

<div class="week-calendar" data-use24-Hour="false" />

This doesn't work, I believe it because of the 24.

If the option were changed to be **'useTwentyFourHour'** then I think it would work and could be described in html as

<div class="week-calendar" data-use-twenty-four-hour="false" />