I have no idea what the problem it but sidestepped this issue myself
by generating the datetime in Python with a helper function:
from web.db import *
from time import gmtime
def now():
return "%02d-%02d-%02d %02d:%02d:%02d" % gmtime()[0:6]
newid = insert('foo',
createdtime = now(),
[...]
)
More readable code too!
--
Alex Macmillan
On Sep 14, 10:54 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I just triple checked and it's definitely not a mode issue. As all the
> mode settings still have this problem.
>
> -d
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---