[OGDev] [bug] last_modified not containing epoch

Dominic Hargreaves dom at earth.li
Thu Nov 23 19:17:43 GMT 2006


On Sat, Oct 28, 2006 at 11:57:25AM -0700, Paul Makepeace wrote:
> Here's the output of a ./Build test after various fixes. There is some
> warning about a string comparison happening where it's expecting an
> integer. My guess is some back-end store is returning a formatted date
> rather than an epoch time.
> 
> http://scsys.co.uk:8001/4743
> 
> Argument "\x{32}\x{30}..." isn't numeric in numeric lt (<) at
> /home/www/paulm/openguides-trunk/blib/lib/OpenGuides/Feed.pm line 169.
> Argument "2006-10-28 19:02:59" isn't numeric in numeric lt (<) at
> /home/www/paulm/openguides-trunk/blib/lib/OpenGuides/Feed.pm line 169.
> 
> ("\x{32}\x{30}..." is "20...")
> 
> This IMO really should be a failure via an assertion further back up the stack.
> 
> Looking at the Wiki::Toolkit pages the closest the format of
> last_modified gets to being specified is as a "timestamp". (So the bug
> is that it's not really nailed down.)

Patches welcome ;)

> There's a bunch of XML issues in the paste someone might have thoughts on too.

"Paste not found."

BTW, submissions via the bug tracker are very much welcomed; makes it
easier for this things to be discussed.

http://dev.openguides.org/ (prod me for a login[0] until I get the spam
protection stuff sorted out)

[0] http://dev.openguides.org/wiki/AboutThisTracInstall

Cheers,

Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)



More information about the OpenGuides-Dev mailing list