[tor-commits] [donate/master] Make the matching campaign end date end of day Pacific Time, not

peterh at torproject.org peterh at torproject.org
Tue Dec 31 20:57:21 UTC 2019


commit 7536f3016f5d7c466edcff7f6494cced4e060ff3
Author: skirtiadi <skirtiadi at giantrabbit.com>
Date:   Sat Dec 28 14:20:47 2019 -0800

    Make the matching campaign end date end of day Pacific Time, not
    Eastern.
    
    We have confirmation that the desired end time of the matching campaign
    is end of day Dec 31 2019 in Pacific Time, not the current Eastern
    US Time.
    
    Issue #43359
---
 src/CampaignController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/CampaignController.php b/src/CampaignController.php
index f888b842..daf550e8 100644
--- a/src/CampaignController.php
+++ b/src/CampaignController.php
@@ -37,7 +37,7 @@ class CampaignController extends BaseController {
   }
 
   public static function is_matching_donation($now) {
-    $donateMatchingEndDate = \DateTime::createFromFormat('Y-m-j-H:i:s', '2020-01-01-04:59:59', new \DateTimeZone('UTC'));
+    $donateMatchingEndDate = \DateTime::createFromFormat('Y-m-j-H:i:s', '2020-01-01-07:59:59', new \DateTimeZone('UTC'));
 
     if ($now > $donateMatchingEndDate) {
       return FALSE;



More information about the tor-commits mailing list