web2project: web-based project management

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000438 [v2.0 Release (Current)] Projects major always 2010-05-12 04:42 2010-06-25 22:33
Reporter pacho View Status public  
Assigned To caseydk
Priority normal Resolution duplicate  
Status closed   Product Version 1.3
Summary 0000438: Multi-Project Gantt Chart Date Error
Description The sources of “w2p/classes/date.class.php” show multiple errors starting with line 550.

This prevents a proper Gantt-Chart to be displayed for Multi-Projects.

In our view the date.class.php has to be as follows. If you agree, please incorporate in the next patch:

 

        public function convertTZ($tz)

        {

                // convert to UTC

                #$offset = intval(1000 / 1000);

                $offset = intval($this->tzID['offset'] / 1000);

                if ($this->tzID['hasdst']) {

                        $offset += 3600;

                }

                $this->addSeconds(0 - $offset);

 

                // convert UTC to new timezone

                $tzID = (is_object($tz)) ? $tz->id : $tz;

 

    $offset = intval($GLOBALS['_DATE_TIMEZONE_DATA'][$tzID]['offset'] / 1000);

                if ($this->tzID['hasdst']) {

                        $offset += 3600;

                }

Additional Information
Tags No tags attached.
Attached Files

- Relationships
duplicate of 0000499closed Multiple Project Gantt-Chart generation fails 

-  Notes
(0000915)
caseydk (administrator)
2010-05-31 00:11

Resolved in r1124.

- Issue History
Date Modified Username Field Change
2010-05-12 04:42 pacho New Issue
2010-05-12 04:44 pacho Issue Monitored: pacho
2010-05-14 10:05 caseydk Project v1.3 Release => v2.0 Release (Current)
2010-05-28 08:58 caseydk Status new => assigned
2010-05-28 08:58 caseydk Assigned To => caseydk
2010-05-31 00:11 caseydk Note Added: 0000915
2010-05-31 00:11 caseydk Status assigned => resolved
2010-05-31 00:11 caseydk Resolution open => fixed
2010-06-21 23:12 caseydk Status resolved => feedback
2010-06-21 23:12 caseydk Resolution fixed => reopened
2010-06-25 22:29 caseydk Relationship added duplicate of 0000499
2010-06-25 22:29 caseydk Duplicate ID 0 => 499
2010-06-25 22:29 caseydk Status feedback => resolved
2010-06-25 22:29 caseydk Fixed in Version => v2.0
2010-06-25 22:29 caseydk Resolution reopened => duplicate
2010-06-25 22:33 caseydk Status resolved => closed


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker