mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 04:53:11 +00:00
docs(readme): record that stored audit times are UTC and need no backfill
Review asked whether rows written by the old DateTime.Now stamps need a backfill. They do not: the API has only run on Linux Elastic Beanstalk hosts at their UTC default, and nothing in Terraform, .ebextensions or .platform sets a time zone, so DateTime.Now already equalled UTC there. Record that next to the hosting table so the decision is findable.
This commit is contained in:
parent
227691269d
commit
1c8da7f344
1 changed files with 6 additions and 0 deletions
|
|
@ -21,6 +21,12 @@ Both run in `us-east-1` on the .NET 8 Amazon Linux 2023 platform. Terraform in
|
||||||
`terraform/live/` owns the environments; GitHub Actions owns the application
|
`terraform/live/` owns the environments; GitHub Actions owns the application
|
||||||
versions. There is no production environment yet.
|
versions. There is no production environment yet.
|
||||||
|
|
||||||
|
Stored created, modified and deletion times are UTC: the API stamps them with
|
||||||
|
`DateTime.UtcNow`, whatever the host's time zone. The API has only ever run on
|
||||||
|
Linux Elastic Beanstalk hosts left at their UTC default (nothing in Terraform,
|
||||||
|
`.ebextensions` or `.platform` sets a time zone), so rows written before the
|
||||||
|
switch from `DateTime.Now` are already UTC and need no backfill.
|
||||||
|
|
||||||
## Architecture
|
## Architecture
|
||||||
|
|
||||||
```text
|
```text
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue