Updated DateOptionFactory to pick relative formats like "first day of " and "last day of ".