[PDB Tech] Clock skew?

Milton Ngan milton at valvesoftware.com
Tue Feb 4 15:45:02 PST 2020


I submitted an issue about this on github, but it was more to do with an inconsistency between using localtime in the local database and UTC coming from PDB. This is not the first time I have encountered timezone related bugs with the Python PDB modules. Which database are you using? Postgres?

________________________________
From: Pdb-tech <pdb-tech-bounces at lists.peeringdb.com> on behalf of Sander Steffann <sander at steffann.nl>
Sent: Tuesday, February 4, 2020 3:20:44 PM
To: pdb-tech at lists.peeringdb.com
Subject: Re: [PDB Tech] Clock skew?

Hi,

> There seems to be a problem with the clock on the server. I am seeing updated timestamps in the future after a sync:

Never mind, it turns out that the django_peeringdb module is doing weird things with time zones. It stores them with a weird offset in the database.

Anyway, not a server problem
Sander

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.peeringdb.com/pipermail/pdb-tech/attachments/20200204/de164da8/attachment.htm>


More information about the Pdb-tech mailing list