Bug Time does not follow daylight savings

Status
Not open for further replies.
IIRC the donation goal is based on server time, so there's nothing I can do about it on my end.
 
Where is the date at in the files? Maybe I can do a modification to adjust the time. Then I can undo it when the time changes back.
 
I believe it's this block of code in /core/packages/dbtechvbdonate/api/vbdonate/widget.php

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')));
    }
 
Hello @XGC xVIPERx XI,

We hope your ticket regarding vBDonate has been addressed to your satisfaction. This ticket has now been closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 
Status
Not open for further replies.

Legacy vBDonate

vBulletin 5.0.x vBulletin 5.1.x vBulletin 5.2.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
60
Customer rating
2.00 star(s) 1 ratings
Back
Top