mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 09:24:55 +02:00
#3935: The extractor in postgresql drops milliseconds
This commit is contained in:
parent
00e157da43
commit
5f17a02548
@ -313,7 +313,7 @@ bool Extractor::extract(std::size_t pos, DateTime& val)
|
|||||||
|
|
||||||
int tzd = -1;
|
int tzd = -1;
|
||||||
DateTime dateTime;
|
DateTime dateTime;
|
||||||
if (!DateTimeParser::tryParse(outputParameter.pData(), dateTime, tzd))
|
if (!DateTimeParser::tryParse("%Y-%m-%d %H:%M:%s", outputParameter.pData(), dateTime, tzd))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user