Modify DATE_FORMAT for JS