• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

collective / icalendar / 25792534587 / 5
98%
main: 98%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 10:24AM UTC
Files 228
Run time 9s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 May 2026 10:09AM UTC coverage: 97.73% (+0.001%) from 97.729%
25792534587.5

push

github

web-flow
Add `vWeekday.ical_value` for the `Component.decoded()` polymorphy (#1360)

* Add `vWeekday.ical_value` for the `Component.decoded()` polymorphy

Refs #876.

Adds the `ical_value` property to `vWeekday`, returning the weekday
string (e.g. ``MO``, ``+2TH``, ``-1SU``). This continues the polymorphy
work tracked in #876, matching the pattern already established for
`vText`, `vUri`, `vInt`, `vFloat`, `vBoolean`, `vBinary`, `vCalAddress`,
and friends -- each value class exposes its underlying Python value via
`ical_value` so `Component.decoded()` can stop dispatching on type.

Test added alongside the existing `test_vWeekday` cases:

  >>> vWeekday("MO").ical_value
  'MO'
  >>> vWeekday("+2TH").ical_value
  '+2TH'
  >>> vWeekday("-1SU").ical_value
  '-1SU'

`pytest src/icalendar/tests/prop/test_vWeekday.py` now passes 5 tests
(was 4).

* docs(weekday): apply review suggestions and add changelog entry

- Replace Latin abbreviation in vWeekday.ical_value docstring with
  explicit examples (MO, +2TH, -1SU) per @stevepiercy.
- Convert the RFC reference to a Sphinx Napolean See Also: section
  per @stevepiercy.
- Add a New features changelog entry for 7.1.1 (unreleased) mirroring
  the vBoolean.ical_value entry from 7.1.0.

---------

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Steve Piercy <web@stevepiercy.com>

748 of 770 branches covered (97.14%)

Branch coverage included in aggregate %.

12342 of 12624 relevant lines covered (97.77%)

0.98 hits per line

Source Files on job run-3.13 - 25792534587.5
  • Tree
  • List 228
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25792534587
  • 66fb3e16 on github
  • Prev Job for on main (#25791561251.5)
  • Next Job for on main (#25953752400.2)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc