Skip to content

Add ability to set timezone in PHP#148

Open
paalbra wants to merge 2 commits into
coolacid:masterfrom
paalbra:php-timezone
Open

Add ability to set timezone in PHP#148
paalbra wants to merge 2 commits into
coolacid:masterfrom
paalbra:php-timezone

Conversation

@paalbra

@paalbra paalbra commented Nov 9, 2021

Copy link
Copy Markdown
Contributor

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

paalbra commented Mar 18, 2022

Copy link
Copy Markdown
Contributor Author

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

@paalbra

paalbra commented Jul 14, 2022

Copy link
Copy Markdown
Contributor Author

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

Development

Successfully merging this pull request may close these issues.

1 participant