[COOK-4000] Allow to use dateyesterday option.

https://tickets.opscode.com/browse/COOK-4000