XGC xVIPERx XI
Customer
Hello,
I was notified by my members that the Goal time is an hour off. How can that be fixed?
I was notified by my members that the Goal time is an hour off. How can that be fixed?
/core/packages/dbtechvbdonate/api/vbdonate/widget.php
/**
* Fetches goal date for the current period
*
* @return boolean
*/
public static function fetchGoalDate($prevResult, $widgetConfig, $widgetInstanceId)
{
return date('F j, Y', mktime(0, 0, 0, (vB::getDatastore()->getOption('dbtech_vbdonate_goal_meter_period') == 1) ? date('n') + 1 : 1, date('j'), (vB::getDatastore()->getOption('dbtech_vbdonate_goal_meter_period') == 2) ? date('Y') + 1 : date('Y')));
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.