Project

General

Profile

Actions

Bug #2383

closed

Days diff function algorithm broken around year switch

Added by beat over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08 March 2011
Due date:
% Done:

100%

Estimated time:

Description

cbgroupjive.class.php line 1025:

            $current            =    getdate( $_CB_framework->now() );
            $invited            =    getdate( strtotime( $this->invited ) );
            $diff[$this->id]    =    ( $invited['yday'] - $current['yday'] );

This won't work at the begin or end of the year when e.g. invited = 365 and current = 1.

Actions #1

Updated by krileon over 13 years ago

  • Status changed from New to Resolved
  • Assignee changed from krileon to beat
  • % Done changed from 0 to 100

Fixed in r1622

Actions #2

Updated by krileon over 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF