diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 02fd6f6..12936cc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -155,6 +155,12 @@ Then run all tests: ```shell go test ./... -tags=integration ``` +> [!NOTE] +> If you have issues with tests not passing, it might be related to timezones. The `test_postgres` container runs in timezone UTC. If your host is not configured in timezone UTC, then the tests will fail. To configure an Ubuntu host, execute: +> +> ```shell +> sudo timedatectl set-timezone Etc/UTC +> ``` ## Build Docker image @@ -186,4 +192,3 @@ go run test/mockindexer/main.go * Go to Settings -> IRC and toggle the IRC network `Mock Indexer` * Add a new Filter or add the indexer to an existing filter * Open a new tab and navigate to [http://localhost:3999](http://localhost:3999) and put the example announce in the input then hit enter -