Hi there @Danieru085!
By default, postgres stores all times as UTC-time (also Zulu-time, Z-Time, GMT). For example, when I upload into my Pulp instance here in the US, it shows as follows:
(oci-env) (main) ~/github/Pulp3/pulp_startup/rhel $ pulp rpm content upload --repository foo --relative-path bear-4.1-1.noarch.rpm --file ./bear-4.1-1.noarch.rpm
Started background task /pulp/api/v3/tasks/018b294d-9500-7299-81d5-a1ea87f8e5b4/
.Done.
{
"pulp_href": "/pulp/api/v3/repositories/rpm/rpm/018b294c-5853-7727-bb32-d4cdfda82391/versions/1/",
"pulp_created": "2023-10-13T13:50:32.418546Z",
...
}
(oci-env) (main) ~/github/Pulp3/pulp_startup/rhel $ pulp rpm content show --href /pulp/api/v3/content/rpm/packages/018b294d-95ca-78e3-9d79-4404bb74d2b5/ | jq '{location_href, pulp_created}'
{
"location_href": "bear-4.1-1.noarch.rpm",
"pulp_created": "2023-10-13T13:50:32.395320Z"
}
(oci-env) (main) ~/github/Pulp3/pulp_startup/rhel $ date
Fri Oct 13 09:52:30 AM EDT 2023
Note the ‘Z’ at the end of the timestamps, indicating it’s in Zulu-time.
This is accepted best-practice - servers can be on different machines than the database, in different timezones, and users can be all over the world. Keeping “database time” always in UTC keeps the data sane in that context.
G