By default, transaction dates and times are listed in the admin and exported logs in UTC.
In an upcoming version, we'll be adding the ability to define your timezone within the admin. The following is a workaround to set this via the server.
Obtain your TZ code
First, find the TZ code for your region: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
For example, U.S. Eastern time would be America/New_York, the zone of Porto is Europe/Lisbon, and that of Tel-Aviv is Asia/Jerusalem.
Stop the server processes
In the server, run this command:
supervisorctl stop lamassu-server lamassu-admin-server
Update the timezone setting
Modify the command below to use the TZ code you obtained, entering exactly as typed, with the exception of the code. Note the
\/ between the continent and city instead of just
Example for U.S. Eastern:
sed -i 's/UTC/America\/New_York/g' /etc/postgresql/9.5/main/postgresql.conf
Example for Porto:
sed -i 's/UTC/Europe\/Lisbon/g' /etc/postgresql/9.5/main/postgresql.conf
Example for Tel-Aviv:
sed -i 's/UTC/Asia\/Jerusalem/g' /etc/postgresql/9.5/main/postgresql.conf
Restart the database and server processes
Run these two commands individually:
supervisorctl start lamassu-server lamassu-admin-server
After logging into the admin or upon exporting logs, the times will reflect your chosen timezone.