Commit 8d05102d authored by Glen Ditchfield's avatar Glen Ditchfield 🐛
Browse files

Display year of exception to yearly recurrence

parent 155a0035
Pipeline #175180 skipped
......@@ -3267,7 +3267,7 @@ QString IncidenceFormatter::recurrenceString(const Incidence::Ptr &incidence)
exStr << QLocale().dayName((*il).date().dayOfWeek(), QLocale::ShortFormat);
case Recurrence::rYearlyMonth:
exStr << QLocale().monthName((*il).date().month(), QLocale::LongFormat);
exStr << QString::number((*il).date().year());
case Recurrence::rDaily:
case Recurrence::rMonthlyPos:
......@@ -3301,7 +3301,7 @@ QString IncidenceFormatter::recurrenceString(const Incidence::Ptr &incidence)
exStr << QLocale().toString((*dl), QLocale::ShortFormat);
case Recurrence::rYearlyMonth:
exStr << QLocale().monthName((*dl).month(), QLocale::LongFormat);
exStr << QString::number((*dl).year());
case Recurrence::rYearlyDay:
exStr << QLocale().toString((*dl), QLocale::ShortFormat);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment