BeMoreHumanOrg / bemorehuman

The recommendation engine with particular focus on uniqueness of the person receiving the rec.
https://bemorehuman.org
MIT License
49 stars 0 forks source link

Timestamps are stored in flat file as local time, causing probems when moving to server on UTC #31

Open unbrand opened 5 months ago

unbrand commented 5 months ago

Describe the bug When moving datafiles from dev (local timezone) to prod (UTC) the timestamps in the rmetacache.txt are different and the checks in the code won't work right, causing lots of problems.

To Reproduce Steps to reproduce the behavior:

  1. Copy the contents of /opt/bemorehuman from local dev to prod
  2. Try to run bemorehuman
  3. Lots of problems will arise from the timezones being different, and execution won't complete. See logs.

Expected behavior You should be able to copy the contents of /opt/bemorehuman from dev to prod and have everything work especially when prod is on UTC and dev is local timezone.

Screenshots

OS environment (please complete the following information):

Additional context