Vtiger 6.5 Report sau khi upgrade không hiển thị được ngày

Go to modules/Reports/ReportRun.php
take back up of modules/Reports/ReportRun.php

find

$userformat=str_replace(array(“dd-mm-yyyy”,”mm-dd-yyyy”,”yyyy-mm-dd”),array(“%d-%m-%Y”,”%m-%d-%Y”,”%Y-%m-%d”),$current_user->date_format);
$columnSQL = “date_format (” . $selectedfields[0] . “.” . $selectedfields[1] . “,’$userformat’) AS ‘” . decode_html($header_label) . “‘”;

comment the above code and add

$columnSQL = $selectedfields[0] . “.” . $selectedfields[1] . ” AS ‘” . decode_html($header_label) . “‘”;

Leave a Reply

You must be logged in to post a comment.