rdavydov / Twitch-Channel-Points-Miner-v2

A simple script that will watch a stream for you and earn the channel points.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add option to set timezone for miner/logs

21mtd opened this issue · comments

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