mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-14 15:15:01 +00:00
Show fax file date in user's timezone (#3999)
Previously timezone was showing in GMT, this now shows fax time in user's timezone. Code to display timezone was copied from fax_logs.php page.
This commit is contained in:
@@ -367,8 +367,10 @@
|
||||
else {
|
||||
echo " \n";
|
||||
}
|
||||
$fax_date = ($_SESSION['domain']['time_format']['text'] == '12h') ? date("F d Y H:i", $row['fax_epoch']) : date("F d Y H:i", $row['fax_epoch']);
|
||||
|
||||
echo " </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".date("F d Y H:i:s", strtotime(escape($row['fax_date'])))." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$fax_date." </td>\n";
|
||||
echo " <td style='width: 25px;' class='list_control_icons'>";
|
||||
if (permission_exists('fax_file_delete')) {
|
||||
echo "<a href='fax_file_delete.php?id=".escape($row['fax_file_uuid'])."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>";
|
||||
|
||||
Reference in New Issue
Block a user