[Vtigercrm-commits] [Vtiger development] #8449: Extremely serious calendar bug in VTiger 6.2.0 makng calendar unusable
Vtiger development
vtiger-tickets at trac.vtiger.com
Mon Feb 9 03:46:51 GMT 2015
#8449: Extremely serious calendar bug in VTiger 6.2.0 makng calendar unusable
-----------------------+------------------------
Reporter: uma | Owner: developer
Type: defect | Status: new
Priority: critical | Milestone: 6.3.0
Component: vtigercrm | Version: 6.2.0
Severity: Medium | Resolution:
Keywords: |
-----------------------+------------------------
Comment (by mgiamthemexican):
I faced this issue with v6.4 in the Contacts and Tickets modules. In the
summary area the Created On and Modified On dates for times in 12hr format
always showed in AM. I found the issue in the
/modules/Vtiger/helpers/Util.php
Try the fix below and let me know if it works:
In function '''formatDateTimeIntoDayString''' replace lines 214 - 223 with
the code below:
----
$currentUser = Users_Record_Model::getCurrentUserModel();
$dateTimeInUserFormat =
Vtiger_Datetime_UIType::getDisplayDateTimeValue($dateTime);
list($dateInUserFormat, $timeInUserFormat, $AMPM) = explode(' ',
$dateTimeInUserFormat);
list($hours, $minutes, $seconds) = explode(':', $timeInUserFormat);
$displayTime .= $hours . ':' . $minutes . ' ' . $AMPM;
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8449#comment:1>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM
More information about the vtigercrm-commits
mailing list