The web interface's timezone can be modified by setting the
$timezone option in settings.php. It is set to UTC by default.
By default, LiteBans will use the local system timezone for displaying dates, but UTC+0 time is used internally.
If you enable the
use_database_time option in config.yml across all servers, then all servers connected to the same database will use the same timezone (by default, UTC).
When this option is enabled, you can use the
/litebans timezone command to check the current timezone, and you can modify the timezone using
/litebans timezone <timezone>, for example,
/litebans timezone GMT+2
If the timezone you specify with this command is invalid, it will use UTC, so make sure that
/litebans timezone shows the correct time and date after modifying the timezone.
All servers must have their system time synchronized through NTP (Network Time Protocol).
On Linux-based servers this is typically accomplished using
NTP does not have anything to do with your server's timezone. Two servers can report different local UTC times if one of them is not synced via NTP.
You can check the UTC time online here: time.is/UTC
/litebans timezone command should report the same UTC time as time.is across all servers connected to the same database.
Any server that does not show the correct time is not synchronized through NTP.