In Virtual DataPort any view created is automatically available as a RESTful Web Service which can be consumed from a web browser or any other external client/application. The datetime information for this web service is displayed by default in GMT time zone. This article explains how to modify the datetime display from GMT time zone to another timezone.
By default, the Denodo RESTful web service uses the default i18n map “rfc_restful” and it is set to display fields with datetime information in GMT timezone. However, it is possible to modify the timezone of the RESTful web service by editing the following file:
Adding the below environment entry:
In the above entry you can replace “PST” with the desired time zone and finally restart the VDP server to reflect the changes made. Valid values for the timezone will be those timezone ids available in Java that can be obtained through the method java.util.TimeZone.getAvailableIDs.