Fix a bug with date formats
Make models iterators