David's public fiddles
-
Show different search sensitivities
"base" doesn't match if base letter is different "accent" doesn't match if base letter or accent is different "case" doesn't match if base letter or case is different "variant" doesn't match if base letter, case or accent is different
-
Test to show ignorePunctuation in action
if ignorePunctuation is true, all punctuation, such as spaces and hyphens are not taken into account when sorting or searching.
-
Test to see if phone book sorting is supported for German
In regular German sorting, letters with umlauts are sorted the same as the equivalent letter without umlaut. As letters without umlauts can be alternately expanded to the base letter followed by an "e": ä -> ae, ö -> oe, and ü -> ue, and names can often be spelt both ways, phonebooks treat an umlauted character the same as if it was expanded. Thus "Häßler" (Haessler) comes before Hamman; and "Müller" and "Mueller" are interchangeable so are sorted by first name.
-
Test to see if Austrian German sorts differently to German and Swiss German
ß sorts as "ss" in German/Swiss German, and as "sz" in Austrian German
-
Test to see if transitional sorting is supported for Spanish
"ch" is it’s own "compression" and so cherry should be sorted after cranberry in transitional spanish sorting. "ll" is also a compression in traditional spanish and thus "llama" should be sorted after "lychee".
-
Show sort order between English and Swedish
No-Library (pure JS), HTML, CSS, JavaScript
-
Show sort order between English; and Norwegian and Danish
No-Library (pure JS), HTML, CSS, JavaScript
-
DWr7a
No-Library (pure JS), HTML, CSS, JavaScript
-
How does locale get reported?
Does it normalise the locale between supported locales and used local?
-
Format the date, showing different order depending on locale
No-Library (pure JS), HTML, CSS, JavaScript
-
Does era show when formatting date?
No-Library (pure JS), HTML, CSS, JavaScript
-
Which time system is used by default?
Make an array of all ISO 639-1 codes and test each supported one to see if 12-hour clock is true or false.
-
Is hourNo0 supported?
No-Library (pure JS), HTML, CSS, JavaScript
-
Use hourNo0 in formatting
No-Library (pure JS), HTML, CSS, JavaScript
-
Format the time using numeric
No-Library (pure JS), HTML, CSS, JavaScript
-
Format the time using two digits
No-Library (pure JS), HTML, CSS, JavaScript
-
Chrome supports setting timeZone to timezone.xml alias values
Chrome takes advantage of a conformance clause to support additional time zones.
-
Differing behaviour when timeZone is undefined
Chrome takes advantage of a conformance clause to support additional time zones.
-
Set date to default time zone, and short time zone name
No-Library (pure JS), HTML, CSS, JavaScript
-
Set date to use UTC time zone, and long time zone name
No-Library (pure JS), HTML, CSS, JavaScript