important robustness fix

master
joey 2006-08-27 04:14:41 +00:00
parent d0bbfeefbe
commit a18e304e39
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@ sub IkiWiki::displaytime ($) { #{{{
my $gregorian=POSIX::strftime("%d %m %Y", localtime($time));
my $date=`ddate +'$IkiWiki::config{timeformat}' $gregorian`;
chomp $date;
if ($? || ! length $date) {
return "some time or other (hail Eris!)";
}
return $date;
} #}}}