Fix unparseable date exception for special date format (for java api)