Updated flag module.
Fixed date format and field ordering.