Changing the LRS timezone, so you see times in your timezone.

Estimated reading time: < 1 min

If you see the timestamps on the reports different from the actual time. You can correct it by correcting your timezone. Normally it should use your server’s timezone. However, if you want to change it in the LRS. You can do these steps

  • Open the file grassblade-lrs/app/Config/core.php in your text editor.
  • Add this line at the bottom of the file:
date_default_timezone_set("America/Los_Angeles");
  • The above line works if you want to set the timezone to Los Angeles (i.e. Pacific Time)
  • If you want to set it to another timezone, change the local string in the code from the List of supported timezones here.
Was this article helpful?
Dislike 0 1 of 1 found this article helpful.

Leave a Reply

Your email address will not be published. Required fields are marked *