[Vtigercrm-commits] [Vtiger development] #8029: Date error

Vtiger development vtiger-tickets at trac.vtiger.com
Thu Oct 16 06:42:21 GMT 2014


#8029: Date error
------------------------+--------------------------
 Reporter:  barra       |       Owner:  developer
     Type:  defect      |      Status:  new
 Priority:  unassigned  |   Milestone:  6.2.0
Component:  vtigercrm   |     Version:  6.1.0 - wip
 Severity:  Medium      |  Resolution:
 Keywords:              |
------------------------+--------------------------

Comment (by rishab):

 This happens because when there are no Records to Syn between Google and
 Vtiger
 Api {{{function renderSyncUi}}} under
 vtiger_root/modules/Google/view/List.php fetches
 lastSyncTime from the table vtiger_google_sync which will return false.

 Workaround:
 In ContentDetails.php under vtiger_root/layouts/vlayout/modules/Google/
 change:
 {{{
 <p class="muted span12"><small
 title="{Vtiger_Util_Helper::formatDateTimeIntoDayString($SYNCTIME)}">{vtranslate('LBL_SYNCRONIZED',$MODULE_NAME)}
 : {Vtiger_Util_Helper::formatDateDiffInStrings($SYNCTIME)}</small></p>
 }}}
 {{{
 {if $SYNCTIME}<p class="muted span12"><small
 title="{Vtiger_Util_Helper::formatDateTimeIntoDayString($SYNCTIME)}">{vtranslate('LBL_SYNCRONIZED',$MODULE_NAME)}
 :
 {Vtiger_Util_Helper::formatDateDiffInStrings($SYNCTIME)}</small></p>{/if}
 }}}

 For update widget of Custom modules showing wrong update time refer:
 [14317]

--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8029#comment:4>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM


More information about the vtigercrm-commits mailing list