Create a slider with input year/month or year/quarter

Hi all, I’m trying to create a simple slider but instead of using numbers, I’d like to use year-month or year-quarters. for example: 2017-q1, 2017-q2, or 2017-01, 2017-02, etc…

It seems like the current slider only has options for numeric min and max values. Is there some kind of workaround you’d suggest? Thank you.