[Bug 15278] Adding Islamic calendar support in HTML5

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15278

--- Comment #8 from Cameron Jones <cmhjones@gmail.com> 2012-02-08 14:29:46 UTC ---
Sorry for the lateness of the reply, i've been getting 'snowed' under
recently...

Yes this is only for presentational rendering and it is already suggested in
spec that the "lang" attribute be used as declaration for localization.

I suggest that in order for the potential to be realized for authors and
browsers that an additional example is added specifically noting the use of the
unicode extension tags for calendar declaration. This was unapparent prior the
this bug being opened and investigated, and i expect support and use in this
area is otherwise non-existent.

The unicode extensions are invalid without at least a primary language subtag
and as such require a language declaration in order to be well formed and
applicable. 

The format of the note could be represented as follows in illustrating the
Islamic New Year of 1434 AH in the Arabic language and with regards to the
conversion required from the ISO time encoding:

<input type="date" lang="ar-u-ca-islamic" value="2012-11-15"/>

For more examples, see how this is implemented by Eclipse for representing
calendars in multiple languages:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=243270

There is also ongoing work in the globalization extension to javascript which
will tie in directly with this:

http://html5labs.interoperabilitybridges.com/prototypes/javascript-ie-extensions/javascript-extensions/info

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 8 February 2012 14:31:55 UTC