diff options
Diffstat (limited to 'Master/tlpkg')
-rw-r--r-- | Master/tlpkg/TeXLive/TLPOBJ.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLPOBJ.pm b/Master/tlpkg/TeXLive/TLPOBJ.pm index 1d438f9d203..5296ed49d82 100644 --- a/Master/tlpkg/TeXLive/TLPOBJ.pm +++ b/Master/tlpkg/TeXLive/TLPOBJ.pm @@ -749,7 +749,11 @@ sub update_from_catalogue { if (defined($entry->entry->{'date'})) { my $foo = $entry->entry->{'date'}; $foo =~ s/^.Date: //; - $foo =~ s/ \(.*\) \$ *$//; + # trying to extract the interesting part of a subversion date + # keyword expansion here, e.g., + # $Date$ + # ->2007-08-15 19:43:35 +0100 + $foo =~ s/ \(.*\)( \$ *)$//; # maybe nothing after parens $self->cataloguedata->{'date'} = $foo; } if (defined($entry->license)) { |