why don't you simply pass the whole `dateSrc` instead? (since it contains all properties that the template needs)