mirror of
https://github.com/reactos/CMake.git
synced 2025-01-24 04:34:26 +00:00
BUG: 8898 fix date in ctest nightly time
This commit is contained in:
parent
028c52841a
commit
00c253847a
@ -74,8 +74,11 @@ struct tm* cmCTest::GetNightlyTime(std::string str,
|
||||
char buf[1024];
|
||||
// add todays year day and month to the time in str because
|
||||
// curl_getdate no longer assumes the day is today
|
||||
sprintf(buf, "%d%02d%02d %s", lctime->tm_year+1900, lctime->tm_mday,
|
||||
lctime->tm_mon, str.c_str());
|
||||
sprintf(buf, "%d%02d%02d %s",
|
||||
lctime->tm_year+1900,
|
||||
lctime->tm_mon +1,
|
||||
lctime->tm_mday,
|
||||
str.c_str());
|
||||
cmCTestLog(this, OUTPUT, "Determine Nightly Start Time" << std::endl
|
||||
<< " Specified time: " << str.c_str() << std::endl);
|
||||
//Convert the nightly start time to seconds. Since we are
|
||||
|
Loading…
x
Reference in New Issue
Block a user