(Quick Reference)

1. timeZoneSelect

1.1. Purpose

Helper tag to create HTML select tags for selecting from a list of time zones.

1.2. Examples

<!-- Create a timezone selector -->
<g:timeZoneSelect name="myTimeZone" value="${tz}" />

1.3. Description

Attributes

  • name (required) - The name of the select

  • value (optional) - An instance of TimeZone. Defaults to the time zone for the current Locale if not specified

  • locale (optional) - The Locale to use for formatting the time zone names. Defaults to the current request locale and then system default locale if not specified. A Locale or parsable locale String value (for example: 'sv_SE').