Changeset 891


Ignore:
Timestamp:
Dec 9, 2006, 11:23:42 AM (15 years ago)
Author:
sheldon
Message:

Don't compare dates with <, as that will just compare the year, use 'lt'.

This cuts down the errors when running the tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides/Feed.pm

    r888 r891  
    167167    foreach my $node (@nodes) {
    168168        if($node->{last_modified}) {
    169             if((!$newest_node) || $node->{last_modified} < $newest_node->{last_modified}) {
     169            if((!$newest_node) || ($node->{last_modified} lt $newest_node->{last_modified})) {
    170170                $newest_node = $node;
    171171            }
Note: See TracChangeset for help on using the changeset viewer.