pass ISO8601 datetime string to javascript callback for date and time modes