mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-14 02:57:45 +01: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;
|
||||
DateTime dateTime;
|
||||
if (!DateTimeParser::tryParse(outputParameter.pData(), dateTime, tzd))
|
||||
if (!DateTimeParser::tryParse("%Y-%m-%d %H:%M:%s", outputParameter.pData(), dateTime, tzd))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user