This function generates labels for quarters in a short format,
showing the quarter and year only when it changes from the previous label,
similar to scales::label_date_short().
Details
This should generally be used in conjunction with breaks that are
the dates of the start of a quarter, e.g. as from
breaks_quarters().