updated and improved API for hidden dates with the repeat argument