Ticket #287 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

DateSelector.php bug

Reported by: ian.maffett@gmail.com Assigned to: hans
Priority: major Milestone: 2.3.1
Component: phing-core Version: 2.3.1RC1
Keywords: Cc:

Description

There's a bug in the DateSelector.php file at line 207, isSelected function

return (($file->lastModified() . $this->granularity) > $this->seconds);

Should be

return (($file->lastModified() - $this->granularity) > $this->seconds);

Attachments

Change History

10/15/08 14:26:02 changed by hans

(In [396]) Refs #287 - Fixing typo in date comparison code.

10/15/08 14:27:16 changed by hans

(In [397]) Refs #287 - Fixing typo in date comparison code.

10/15/08 14:28:11 changed by hans

  • status changed from new to closed.
  • resolution set to fixed.

Thanks, Ian -- fixed in r396 (2.3) and r397 (2.4). Will be part of soon-to-be-released 2.3.1 release.


Add/Change #287 (DateSelector.php bug)




Action