fix: correctly read a date from a database if a date_only flag is set

This commit is contained in:
Tomasz Sowa 2022-12-15 17:33:46 +01:00
parent a4a1acebeb
commit a3c337355d
1 changed files with 1 additions and 1 deletions

View File

@ -853,7 +853,7 @@ void DbConnector::get_value(const char * value_str, pt::Date & field_value, cons
if( field_type.is_date_only() )
{
field_value.ParseDayMonthYear(value_str);
field_value.ParseYearMonthDay(value_str);
}
else
if( field_type.is_time_only() )