Message Boards
How to get the list of TimeZones like in the user-admin display settings
Dominic Meyer, modified 3 Years ago.
How to get the list of TimeZones like in the user-admin display settings
New Member Posts: 2 Join Date: 11/4/19 Recent PostsHi all
I want to add in a portlet (Liferay 7.1x) the same TimeZone list like
in the user-admin display settings.
Do you know how I get the
exact same list?
Thank you for your help and regards
Dominic
Mohammed Yasin, modified 3 Years ago.
RE: How to get the list of TimeZones like in the user-admin display setting
Liferay Master Posts: 591 Join Date: 8/8/14 Recent PostsHi ,
You can use aui input tag with type as time zone
<aui:input label="time-zone" name="timeZoneId" type="timeZone" />
Dominic Meyer, modified 3 Years ago.
RE: How to get the list of TimeZones like in the user-admin display setting
New Member Posts: 2 Join Date: 11/4/19 Recent PostsThx but I need the list withouth the input field
Mohammed Yasin, modified 3 Years ago.
RE: RE: How to get the list of TimeZones like in the user-admin display set
Liferay Master Posts: 591 Join Date: 8/8/14 Recent PostsYou can refer below for fetching list
https://github.com/liferay/liferay-portal/blob/7.1.x/portal-web/docroot/html/taglib/ui/input_time_zone/page.jsp