Fax Server Time Zone

rajahgroup

New Member
Apr 12, 2025
5
0
1
27
Hello,

I'm running the latest FusionPBX code and I'm having an issue with the times of received faxes.

The fax inbox is showing all received faxes in UTC time and not the time zone I have set in Default Settings and php.ini (America/Toronto)

I haven't noticed this issue with any other apps in FusionPBX such as CDR.

Any guidance would be appreciated.
 
It's a good practice to save dates in the UTC time zone in the DB. However, if the fax page isn't converting back properly to your timezone, it sounds like a bug to me or a feature request you need to put in.
 
It's a good practice to save dates in the UTC time zone in the DB. However, if the fax page isn't converting back properly to your timezone, it sounds like a bug to me or a feature request you need to put in.
Seems to be a bug in the code.

Server is set to UTC. I am in Toronto so my time is -4 (EDT)

Weird thing is when I add a line of code in fax_files.php setting time_zone variable to -8 (PST), the times show correctly.

PHP:
//set the time zone
    if (isset($_SESSION['domain']['time_zone']['name'])) {
        $time_zone = $_SESSION['domain']['time_zone']['name'];
    }
    else {
        $time_zone = date_default_timezone_get();
    }
    $time_zone = 'PST';
    $parameters['time_zone'] = $time_zone;
 
You might want to submit a bug to the developers or attempt to fix it and submit them a pull request. I've fixed many bugs like that in FS PBX. It takes time to get it right.
 

@rajahgroup

  • Are you using FusionPBX 5.4's latest release or the latest master branch?
  • And to confirm, you did set Advanced -> Default Settings value for time_zone
 
Last edited: