[web2py] Re: DAL patch to support fractional seconds

2012-02-05 Thread nick name
I tried to maintain backward compatibility in the best way possible - by keeping the old code in place if you don't need higher resolution. (Note, however, that there's a place in DAL where time() retains microseconds, and datetime does not, which was probably a bug -- in that case, I fixed it

[web2py] Re: DAL patch to support fractional seconds

2012-02-05 Thread howesc
GAE gives me fractional sections all the time when i convert to strings (to say pass as a URL parameter to query for the next section of the results). turns out that GAE stores fractional sections in the DB, and an accurate query would include them. i have worked around it satisfactorily for n

[web2py] Re: DAL patch to support fractional seconds

2012-02-04 Thread Massimo Di Pierro
This is a long issue. The problem here is backward compatibility anyway, will look at the patch and decide. Please make the case why would anybody need fractional seconds in datetime? On Feb 4, 9:46 pm, nick name wrote: > I've posted a patch for DAL that adds support for fractional seconds; t