init: Set Datetime names to refer to the past, not the future

This commit is contained in:
Paul Beckingham 2016-04-17 10:38:24 -04:00
parent 22777067c4
commit 67949c3a43

View file

@ -167,6 +167,10 @@ void initializeDataAndRules (
// Initialize the database (no data read), but files are enumerated.
database.initialize (data._data);
// Set date names like "monday" to represent the past, not the future.
// TODO Make this configurable?
Datetime::lookForwards = false;
}
////////////////////////////////////////////////////////////////////////////////