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

tito10047 / php-calendar / 28450041266
84%
main: 84%

Build:
Build:
LAST BUILD BRANCH: v2.0.0-beta.1
DEFAULT BRANCH: main
Ran 30 Jun 2026 01:59PM UTC
Jobs 1
Files 20
Run time 1min
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

30 Jun 2026 01:59PM UTC coverage: 84.139% (-3.3%) from 87.454%
28450041266

Pull #3

github

tito10047
fix: preserve IANA timezones in ICalExporter, document timezone behaviour

Previously export() always serialised all datetimes as UTC (Z suffix),
silently dropping the original timezone. Recurring events from a parsed
ICS file with TZID=Europe/London would be written back at UTC time,
shifting them by the UTC offset.

New behaviour (formatDtProp helper):
  - UTC datetimes → DTSTART:20241101T120000Z (unchanged)
  - Named IANA timezone → DTSTART;TZID=Europe/London:20241101T120000
  - Numeric offset (+01:00) → normalised to UTC (offset info cannot be
    preserved without a VTIMEZONE block; document this limitation)

Update class docblock to document the three-case timezone strategy and
warn about the numeric-offset limitation so users know to pass a proper
DateTimeZone('Region/City') when timezone fidelity matters.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pull Request #3: feat!: v2.0 — pure-library core, iCal, recurrence, resource calendar

627 of 745 new or added lines in 12 files covered. (84.16%)

7 existing lines in 1 file now uncovered.

679 of 807 relevant lines covered (84.14%)

7.25 hits per line

Uncovered Changes

Lines Coverage ∆ File
53
81.4
src/Recurrence/RecurrenceRule.php
44
67.16
src/ICal/ICalParser.php
9
52.63
src/ICal/ICalEvent.php
8
89.04
src/ICal/ICalExporter.php
2
98.34
3.44% src/Calendar.php
1
50.0
src/Enum/WeekStart.php
1
92.31
src/Resource/ResourceCalendar.php

Coverage Regressions

Lines Coverage ∆ File
7
12.5
-87.5% src/Day.php
Jobs
ID Job ID Ran Files Coverage
1 28450041266.1 30 Jun 2026 01:59PM UTC 20
84.14
GitHub Action Run
Source Files on build 28450041266
  • Tree
  • List 20
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #3
  • PR Base - main (#28430750476)
  • 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