change date format in ActivityRecord