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

KarpelesLab / strtotime / 24318876933 / 1
81%
master: 81%

Build:
DEFAULT BRANCH: master
Ran 12 Apr 2026 11:22PM UTC
Files 14
Run time 0s
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

12 Apr 2026 11:22PM UTC coverage: 80.848% (+0.3%) from 80.574%
24318876933.1

push

github

MagicalTux
Grow PHP parity suite to 148 cases; add time+TZ, ISO-week, bare offset

Parser additions:
- parseTimeWithNumericOffsetInto: "HH:MM[:SS][.frac] +HHMM/-HH:MM" reports
  time plus zone_type 1 offset.
- parseBareNumericOffsetInto: bare "+0900" / "-0500" emits is_localtime
  with zone_type 1 and no date or time components.
- parseCompactDateWithTimeInto: "YYYYMMDD HH:MM[:SS]" sets date and time.
- parseWithTimezoneInto recognises time-only-with-TZ inputs and records
  only the time plus TZ metadata (not an absolute date).

Bug fixes:
- isCompoundExpression no longer classifies a trailing numeric TZ suffix
  as a compound operator, so "14:30 +09:00" reaches the TZ-aware parser.
- parseDateTimeFormatInto records an explicit trailing TZ (Z, +HHMM, IANA
  abbreviation) even when t.Location() happens to equal the caller's loc.
- ISO week day offset uses the ISO-week calendar formula
  (jan4 anchor + (week-1)*7 + dayOfWeek - 1) so W01 / W53 match PHP.
- tryParseNextLastExpression always materialises the relative block for
  next/last/this month/year, matching PHP's always-emit-for-X behaviour.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

4099 of 5070 relevant lines covered (80.85%)

234.56 hits per line

Source Files on job 24318876933.1
  • Tree
  • List 14
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24318876933
  • 5cba5538 on github
  • Prev Job for on master (#24318778822.1)
  • Next Job for on master (#24318942673.1)
  • 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