Skip to content

Commit

Permalink
#3935: The extractor in postgresql drops milliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
obiltschnig committed Jul 10, 2023
1 parent 00e157d commit 5f17a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Data/PostgreSQL/src/Extractor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5f17a02

Please sign in to comment.