[OpenSER-Devel] Date Format in db_time2str / db_str2time [db_ut]
Will Quan
wiquan at employees.org
Mon Nov 5 01:03:29 UTC 2007
Greetings,
In db_time2str() the date is formatted and wrapped in single-quotes like
this:
'2007-10-31 12:00:00'
However the inverse function db_str2time does not contain these
single-quotes in the format string.
As if its expecting the date without the single-quotes.
2007-10-31 12:00:00
Could we modify the later to include the single ticks in the parse string?
(Or alternately, modify db_time2str to not wrap the date in single-quotes.)
Currently, the db_berkeley module is invoking db_str2time with the
surrounding single quotes and this creates a core dump from inside strptime.
--will
More information about the Devel
mailing list