diff options
Diffstat (limited to 'lib/output/pq')
-rw-r--r-- | lib/output/pq/pqRecordSet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output/pq/pqRecordSet.cpp b/lib/output/pq/pqRecordSet.cpp index e25c571..4d5349f 100644 --- a/lib/output/pq/pqRecordSet.cpp +++ b/lib/output/pq/pqRecordSet.cpp @@ -70,7 +70,7 @@ namespace MyGrate::Output::Pq { } case TIMESTAMPOID: { tm tm {}; - const auto end = strptime(value, "%FT%T", &tm); + const auto end = strptime(value, "%F %T", &tm); verify<std::runtime_error>(end && !*end, "Invalid timestamp string"); return DateTime {tm}; } |