For some strange reason the gregorian calender does not start counting days at 0. Maybe 0 hadn't been invented yet.

This commit is contained in:
Eric Harding committed 2019-06-10 10:12:44 -04:00
1 parent 88908543e1
commit 33b4b88af1
1 file changed
+2 -2
+2 -2
View File
@@ -1270,10 +1270,10 @@ struct Co2RelayTests {
// That's right. Expirations daily.
out_producers->push_back(
producer.add_security(
*mkfixedfuture("FOO", invalid_security_key, 2017, 1+(x/28), x%28)));
*mkfixedfuture("FOO", invalid_security_key, 2017, 1+(x/28), x%27+1)));
out_producers->push_back(
producer.add_security(
*mkfixedfuture("FOOF", invalid_security_key, 2017, 1+(x/28), x%28)));
*mkfixedfuture("FOOF", invalid_security_key, 2017, 1+(x/28), x%27+1)));
}
assign_ids(out_producers->begin(), out_producers->end(), 1000);