Looks like line 1447 in DAL.py is to blame.
if isinstance(obj, datetime.datetime):
obj = obj.isoformat()[:19].replace('T',' ')
should be:
obj = obj.isoformat()[:19]
That will preserve the 'T'
If you don't need the 'T' (hey, why strip it if it works?)
You should do this:
obj = obj.isoformat(' ')[:19]
If you need the space,
On Wednesday, March 13, 2013 11:53:46 AM UTC-7, Derek wrote:
>
> It probably worked yesterday because yesterday was 3-12 which could be
> interpreted as December 3rd or March 12th. 3-13 can only be interpreted as
> march 2013, so perhaps it was reading the date incorrectly?
>
> On Wednesday, March 13, 2013 9:16:26 AM UTC-7, Marian wrote:
>>
>> Yes this fails, this is really strange. As said it worked yesterday and
>> it's not a local database server which I restarted or something like that.
>>
>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.