OSSP CVS Repository

ossp - Difference in ossp-pkg/shiela/shiela.pl versions 1.63 and 1.64
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/shiela/shiela.pl 1.63 -> 1.64

--- shiela.pl    2004/06/27 07:45:50     1.63
+++ shiela.pl    2004/07/02 17:22:18     1.64
@@ -1662,7 +1662,7 @@
 
         #   determine commit date
         my $ID = 0;
-        if ($rcslog =~ m|\ndate:\s+(\d\d\d\d)/(\d\d)/(\d\d)\s+(\d\d):(\d\d):(\d\d);|s) {
+        if ($rcslog =~ m|\ndate:\s+(\d\d\d\d)[/-](\d\d)[/-](\d\d)\s+(\d\d):(\d\d):(\d\d)(?:\s+[+-]?\d+)?;|s) {
             my ($Y,$M,$D,$h,$m,$s) = ($1,$2,$3,$4,$5,$6);
             $ID = POSIX::mktime($s, $m, $h, $D, $M-1, $Y-1900);
         }

CVSTrac 2.0.1