Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KCalUtils
Commits
8d05102d
Commit
8d05102d
authored
May 09, 2022
by
Glen Ditchfield
🐛
Browse files
Display year of exception to yearly recurrence
parent
155a0035
Pipeline
#175180
skipped
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/incidenceformatter.cpp
View file @
8d05102d
...
...
@@ -3267,7 +3267,7 @@ QString IncidenceFormatter::recurrenceString(const Incidence::Ptr &incidence)
exStr
<<
QLocale
().
dayName
((
*
il
).
date
().
dayOfWeek
(),
QLocale
::
ShortFormat
);
break
;
case
Recurrence
::
rYearlyMonth
:
exStr
<<
Q
Locale
().
monthName
((
*
il
).
date
().
month
(),
QLocale
::
LongFormat
);
exStr
<<
Q
String
::
number
((
*
il
).
date
().
year
()
);
break
;
case
Recurrence
::
rDaily
:
case
Recurrence
::
rMonthlyPos
:
...
...
@@ -3301,7 +3301,7 @@ QString IncidenceFormatter::recurrenceString(const Incidence::Ptr &incidence)
exStr
<<
QLocale
().
toString
((
*
dl
),
QLocale
::
ShortFormat
);
break
;
case
Recurrence
::
rYearlyMonth
:
exStr
<<
Q
Locale
().
monthName
((
*
dl
).
month
(),
QLocale
::
LongFormat
);
exStr
<<
Q
String
::
number
((
*
dl
).
year
()
);
break
;
case
Recurrence
::
rYearlyDay
:
exStr
<<
QLocale
().
toString
((
*
dl
),
QLocale
::
ShortFormat
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment