fix dateformat to pattern="yyyy-MM-dd"
business logics