LMFDB / lmfdb

L-Functions and Modular Forms Database
Other
253 stars 200 forks source link

Add test to check that knowls are syncing between dev and prod #6238

Closed roed314 closed 1 week ago

roed314 commented 2 weeks ago

Adds a check for #6228. It also fixes an inconsistency in how we were recording timestamps for knowls. Now I think we use datetime.utcnow() everywhere. If we want to switch to datetime.now() everywhere instead we could; I just thought it would be helpful to not have to worry about different servers with different time zones. Note that this change will mean new timestamps on knowls are in UTC (rather than EST or EDT). I don't think we care enough about the 5-6 hour difference to worry about updating old timestamps.