mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 08:56:34 +03:00
Fixed problem in microseconds conversion (really this time.)
This commit is contained in:
parent
03c0a258a2
commit
a6be5bf7bc
5
NEWS
5
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
|
||||
--------------------------------
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user