Skip to content

Display log timestamp in a different timezone #220

Closed Answered by iprastha
iprastha asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @arukompas , i've tested it and it works as expected.
Steps:

  1. Update package in composer
composer update "opcodesio/log-viewer"
  1. backup my config/log-viewer.php to config/log-viewer-backup.php
  2. Re-publish config file
php artisan vendor:publish --tag="log-viewer-config"
  1. Compare and update config/log-viewer as required
  2. Set 'timezone' in log-viewer config to other than null, example: 'Asia/Jakarta'
  3. Refresh the log-viewer url in the browser and see the timestamp updated as expected

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@davidsalazar
Comment options

@iprastha
Comment options

@arukompas
Comment options

@arukompas
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by iprastha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants