You can still use [[!meta name="date" content="..."]] to generate
<meta> tags that are not interpreted, but the common case for
[[!meta date="..."]] is that you want to change the ctime, and that
won't work without Date::Parse.
Signed-off-by: Simon McVittie <smcv@debian.org>
error(sprintf(gettext('cannot parse date/time: %s'), $value));
}
}
+ else {
+ error $@;
+ }
}
elsif ($key eq 'updated') {
eval q{use Date::Parse};
error(sprintf(gettext('cannot parse date/time: %s'), $value));
}
}
+ else {
+ error $@;
+ }
}
if (! defined wantarray) {