[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: -D CUR_LOCALE considered harmful (was: webwml failed)



On Sun, Jun 10, 2001 at 06:29:29PM +0200, Josip Rodin wrote:
[...]
> > > I think this is just a simple conflict. :) It's odd that it happens only
> > > with News/weekly, though. There's probably some #use wml::debian::ctime
> > > missing somewhere, so footer picks up the Perl POSIX lib's ctime() instead
> > > of our ctime().
> > 
> > You may fix the problem by removing #use wml::debian::ctime in
> > template/debian/weeklynews/header.wml
> 
> But it uses spokendate() from the ctime template.

/me stupid ;)
I tried with `use POSIX qw(locale_h)' but POSIX::ctime is still imported,
then found a solution by putting `#use wml::debian::languages' before
`#use wml::debian::ctime' in template/debian/weeklynews/header.wml
But renaming our ctime() function looks like a good idea.

Denis



Reply to: