Skip to content

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

@unbrand

Description

@unbrand

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):

  • OS: Ubuntu on dev/prod
  • Version 22.04 LTS

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions