Extras
TimeZonePicker
BitTimeZonePicker picks a time zone out of a searchable list that shows the offset from UTC, the place and the country of each one - for the time zone of a profile, a meeting or a report, and for the TimeZone of the date and time pickers. Value is a TimeZoneInfo or the IANA id of the time zone, whichever it is bound to; the list is the same on every runtime, Windows ids and renamed IANA ids are recognized, the visitor's own time zone can be preselected from the browser, and the whole field is keyboard and screen-reader operable.
List & search
Replacing the list, preferred time zones, the search box, the offsets and countries shown, and templates for the field and the rows.
Custom time zones
BitTimeZones.All) - filter it to narrow the
choice down. Whatever order it is given in, the list is shown by offset.
Preferred time zones
Search box
sao pa finds
Sao Paulo and paris fr finds Paris), ids (Asia/Calcutta, UTC),
the regions of the Windows names (pacific, central europe) and offsets
(+3:30, utc-5, gmt+0530; +5 finds every zone of the
hour). The result count is announced to screen readers. Typing on the closed field opens it with the
search already started. SearchBoxPlaceholder, SearchBoxAriaLabel and
NoResultsText set its texts. NoSearchBox removes it; the field then answers to
type-ahead, open or closed. The same letter typed again cycles through the time zones starting with it, and what is
typed is matched by the rules of the current culture, which ignore case and the accents that culture treats
as marks on a letter.
Offsets & countries
Templates
Feedback
Found a mistake, a gap, or something that could be clearer? Every page and every component is one click from its source.