rdavydov/Twitch-Channel-Points-Miner-v2

Add option to set timezone for miner/logs

21mtd opened this issue · 4 comments

21mtd commented

Is your feature request related to a problem?

Usually if we run the miner on a host server, it uses the server timezone for logs which is confusing.

Proposed solution

Add something like setTimezone='Location' option in run.py which use tz database time zones

Alternatives you've considered

No response

Additional context

No response

Done.

@21mtd Added a new LoggerSettings option.

Example:
time_zone="America/Denver"

Sets a specific time zone for console and file loggers. Use tz database names. Example: "America/Denver".

⚠ First of all, install and upgrade requirements: pip install -U -r requirements.txt