Changeset 2441


Ignore:
Timestamp:
Nov 2, 2011, 12:28:43 AM (9 years ago)
Author:
komodo
Message:

fix sections commissions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/branches/senat/project/batch/commission/parse_commission.pl

    r2431 r2441  
    106106#print STDERR "date:"."@date"." ($timestamp $intervention)\n";
    107107                    print_inter() if ($intervention && !$timestamp && $date);
     108                    $olddate = $date;
    108109                    $date = join '-', @date;
    109110#print STDERR "date:".$date."\n";
     
    113114                    $nb_seance = 1;
    114115                    print_inter() if ($intervention && !$timestamp);
     116                    $timestamp = '0' if ($olddate ne $date);
     117                    next;
    115118                }
    116119        }
    117120        next if (!$begin);
    118         if (/<h3>(\s*<[^>]*>)*([^<]+)<\/h3>/) {
     121        if (/<h[234]>(\s*<[^>]*>)*([^<]+)<\/h[234]>/) {
    119122                $titre = $2;
    120123                print_inter();
Note: See TracChangeset for help on using the changeset viewer.