Skip to content

webui: fix empty job timeline issue if date.timezone is not set in php.ini#1051

Merged
pstorz merged 3 commits intomasterfrom
dev/fbergkemper/master/s5049
Jan 20, 2022
Merged

webui: fix empty job timeline issue if date.timezone is not set in php.ini#1051
pstorz merged 3 commits intomasterfrom
dev/fbergkemper/master/s5049

Conversation

@frb121
Copy link
Contributor

@frb121 frb121 commented Jan 19, 2022

This PR fixes an issue where the job timeline stays empty if the timezone
parameter is not set in the php.ini configuration file.

If the timezone is unset it will be set to UTC.

Also this PR adds a php.ini settings section to the installation chapter of the webui.

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

General
  • PR name is meaningful
  • Purpose of the PR is understood
  • Separate commit for this PR in the CHANGELOG.md, PR number referenced is same
  • Commit descriptions are understandable and well formatted
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR
  • bareos-check-sources --since-merge does not report any problems
  • git status should not report modifications in the source tree after building and testing

@frb121 frb121 self-assigned this Jan 19, 2022
@frb121 frb121 requested a review from pstorz January 19, 2022 14:28
@frb121 frb121 force-pushed the dev/fbergkemper/master/s5049 branch 5 times, most recently from c605d8f to 7e6f6d3 Compare January 19, 2022 16:36
@pstorz pstorz changed the title webui: fix a job timeline issue if date.timezone is not set in php.ini webui: fix job timeline is empty if date.timezone is not set in php.ini Jan 20, 2022
Copy link
Member

@pstorz pstorz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work.
I would suggest to change the commit message as follows:

webui: fix empty job timeline issue if date.timezone is not set in php.ini  
                                                                               
This PR fixes an issue where the job timeline stays empty if the timezone   
parameter is not set in the php.ini configuration file.                        
                                                                               
If the timezone is unset it will be set to UTC.

Other than that I have small suggestions for text changes. I hope you agree with my suggestions.

@frb121 frb121 changed the title webui: fix job timeline is empty if date.timezone is not set in php.ini webui: fix empty job timeline issue if date.timezone is not set in php.ini Jan 20, 2022
…p.ini

This PR fixes an issue where the job timeline stays empty if the timezone
parameter is not set in the php.ini configuration file.

If the timezone is unset it will be set to UTC.
@frb121 frb121 force-pushed the dev/fbergkemper/master/s5049 branch from 7e6f6d3 to db60da5 Compare January 20, 2022 11:05
@pstorz pstorz merged commit b99285e into master Jan 20, 2022
@pstorz pstorz deleted the dev/fbergkemper/master/s5049 branch January 20, 2022 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants