Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PYTSK_SKIP_TZSET - Environment variable to skip default setting of timezone #99

Closed
wants to merge 1 commit into from

Conversation

greateggsgreg
Copy link

Programs may rely on a consistent, non-UTC timezone, for logging / other behaviors. When pytsk3 is imported, this code will may change the timezone in the middle of a program run which has adverse effects. I do understand this is to correct libtsk behavior, however, this is a way to opt-out of the forced tzset and handle libtsk's timestamp behavior separately.

@joachimmetz
Copy link
Member

joachimmetz commented Apr 7, 2024

Can you elaborate why do you want to do this? this leads to non-deterministic behavior also see #75

@joachimmetz
Copy link
Member

Creating a work-around for a work-around is not a good idea, closing in favor of patching the sleuthkit source #102

@joachimmetz joachimmetz closed this Apr 7, 2024
@greateggsgreg
Copy link
Author

Ah thank you that'll work as well @joachimmetz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants