diff --git a/NEWS b/NEWS index 41907c1b..7182b6f1 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,8 @@ +What's new in psycopg 2.0 beta 7 +-------------------------------- + +* Ironed out last problems with times and date (should be quite solid now.) + What's new in psycopg 2.0 beta 6 -------------------------------- diff --git a/psycopg/typecast.c b/psycopg/typecast.c index f351bfa5..d0a3d8a8 100644 --- a/psycopg/typecast.c +++ b/psycopg/typecast.c @@ -140,8 +140,7 @@ typecast_parse_time(char* s, char** t, int* len, *tz = tzs * tzhh*60 + tzmm; if (*us != 0.0) { - while (usd < 6) - *us *= (*us)*10.0; + while (usd++ < 6) *us *= 10.0; } return cz;