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

Add ability to set timezone in PHP #148

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

paalbra
Copy link
Contributor

@paalbra paalbra commented Nov 9, 2021

I haven't seen this mentioned in any issues, but it is something I would like to see added myself.

It adds an ability to set time timezone directly in PHP.

If this is used you won't need to override the timezone in MISP itself. I.e. here:
https://github.com/MISP/MISP/blob/7283c8183ac5144f3cbc6f415dd6b1329a4435fa/app/Config/core.default.php#L243-L247

I've tried to follow the same coding style like I've seen in other scripts. Happy to hear any comments/thoughts.

@paalbra
Copy link
Contributor Author

paalbra commented Mar 18, 2022

@coolacid Do you have any thoughts regarding this? :)

@paalbra
Copy link
Contributor Author

paalbra commented Jul 14, 2022

I've fixed this in my own MISP, but I just realized that this PR actually was missing the part that sets timezone for cli. Added one new commit.

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