4 Dec 2002 22:38
Why does TimestampFromMx chop off the milliseconds?
Chris Douty <Chris_Douty@...>
Why does TimestampFromMx chop off the milliseconds?
2002-12-04 21:38:32 GMT
Why does TimestampFromMx chop off the milliseconds?
2002-12-04 21:38:32 GMT
Why, oh why, do the various Time* functions in psycopg ignore fractional seconds? I really need to preserve fractional seconds. I just noticed that all of my timestamps were truncated by psycopg. I can see two potential workarounds, use the str() function on my mx.DateTime object and insert the string. The other option is to fix the source to psycopg so that these functions don't truncate my timestamps. I guess that's not really a workaround, that open source.What really has me perplexed is that psycopg properly retains the fractional seconds when converting a database timestamp field into a mx.DateTime object. WTF? Thanks a lot, Chris -- -- Christopher Douty <Chris_Douty@...> +1-650-367-3129 Senior Engineer, Software & Systems - AMPEX Data Systems Corp.
What really has me perplexed is that psycopg properly retains the
fractional seconds when converting
a database timestamp field into a mx.DateTime object. WTF?
Thanks a lot,
Chris
RSS Feed