Skip to content

Commit

Permalink
#244: Add note about inconsistent timezones for generator script
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Aug 11, 2021
1 parent 34a8c42 commit 1130f4e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,15 @@ years of data.
This uses code from the API's Database Backend, so a suitable `db_url` should be
configured in `config.json`.

When used on a machine that doesn't use UTC timezone, you may find there are a mix of timezones when querying the API. This issue was found on SciGateway Preprod when using BST
and there would be a mix of +00:00 and +01:00 timezones
([more details with screenshots](https://github.com/ral-facilities/datagateway/issues/782)).
The current suggested workaround is to change your machine to use UTC. In the case of
SciGateway preprod, the JVM timezone was changed to UTC (in
`/home/glassfish/[PAYARA_VERSION]/glassfish/domains/domain1/config/domain.xml`). This
was done to ensure the VM's system timezone wasn't changed back to BST by the automated
systems that maintain it.


## Postman Collection
With a handful of endpoints associated with each entity, there are hundreds of endpoints
Expand Down

0 comments on commit 1130f4e

Please sign in to comment.