Component: TimeZoneComponent
A component to encapsulate time zone selection is required. This component will allow users to choose local or UTC time display.
Acceptance Criteria:
- Should accept input
currentTimeZone
asTimeZones
- Should display title text "Time Zone"
- Should display a box containing time zone ratio options for "UTC" and "Local System Time"
- Should check UTC radio when
currentTimeZone
isTimeZones.UTC
- Should check Local radio when
currentTimeZone
isTimeZones.Local
- Should expose output
timeZoneChanged
ofTimeZones
, emitted when either radio is selected
- Should check UTC radio when