Closed claremacrae closed 3 years ago
The received file for this failing test is this - where each of the _
is a space:
date: Fri Aug___
There are known problems with not all C++11 format strings being supported on mingw.
See http://www.cplusplus.com/forum/beginner/170947/#msg852121
The test was using:
"%a %b %e %T %G"
Changing to this fixed it:
"%a %b %d %H:%M:%S %Y"
Confirmed that this is now fixed.
With the format
"%a %b %e %T %G"
,DateUtils::toString(dateTime, format)
is returning a much-too-short string:Thu Aug
(possibly with an extra space after it)Example failing test: https://ci.appveyor.com/project/isidore/approvaltests-cpp/builds/34515858/job/a6m0w24md11pq54n