Change ISO date format to remove fractional seconds.

This commit is contained in:
John Ralls 2018-08-13 11:48:56 -07:00
parent 35fabe2690
commit e9098d08d2

View File

@ -1115,7 +1115,7 @@ char *
gnc_time64_to_iso8601_buff (time64 time, char * buff)
{
constexpr size_t max_iso_date_length = 32;
const char* format = "%Y-%m-%d %H:%M:%s %q";
const char* format = "%Y-%m-%d %H:%M:%S %q";
if (! buff) return NULL;
try