Re: Build problem? Many wrong dates in website
On Mon, Aug 18, 2003 at 08:55:50PM +0200, Jens Seidel wrote:
> Hi all,
>
> http://www.debian.org/events/2003/0113-ieeeconsultants.en.html is an example
> of a website with a wrong date. The
> english/events/2003/0113-ieeeconsultants.wml source file contains
>
> <define-tag startdate>2003-01-13</define-tag>
> <define-tag enddate>2003-01-13</define-tag>
>
> but the .html file contains
>
> When: Thu Aug 14 12:11:41 2003
>
> Instead of 2003-01-13 you can find Thu Aug 14 12:11:41 2003 in .html.
>
> I'm sure that the mentioned date is the build time. There seems to something
> wrong with the build system (wml, ...).
It's not the build system, it's broken input data. past_event template has
<strong><langwhen/>:</strong> <date/><br />
But this "date" variable isn't defined. We need something to copy what's
essentially already in events_common template
if ($startdate && $enddate) {
$date = &daterange($startdate, $enddate);
}
I'll leave details to Joey and whoever else handles this usually.
--
2. That which causes joy or happiness.
Reply to: