Incorrect date evaluation on holiday for tenor calculation

The tenor calculation when valuation date is a holiday as per curve calendar,why does tenor start date and tenor end date calculate to same value.

Can you share an example (preferably with code) indicating the problem?