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

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

Build:
DEFAULT BRANCH: master
Ran 12 Apr 2026 11:16PM 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:16PM UTC coverage: 80.574% (-0.4%) from 80.935%
24318778822.1

push

github

MagicalTux
Expand PHP parity coverage: keywords, bare time, first/last Month YYYY

Grow testdata/date_parse_php.jsonl to 112 cases and fix the parser to
match PHP on every one of them:

- tryParseTimeKeyword populates pd.SetTime for midnight/noon.
- tryWeekdayPrefixReparse no longer strips a weekday prefix when the
  remainder is a bare time keyword ("Monday noon" is weekday + time,
  not an anchored absolute date).
- Inputs with no 4-digit year ("Dec 25", "1st January") populate only
  month and day, not year (matching PHP's false sentinel).
- Time expressions consume a trailing "Z" as a type-2 abbreviation.
- SetFraction truncates to microsecond precision (PHP timelib rounding).
- parseDayMonthYear pipes numeric offsets and named timezones into the
  TZ metadata; "first/last day of <Month> <Year>" records day=1 plus
  the first_day_of_month / last_day_of_month relative flag.
- ISO week dates emit year-Jan-1 + relative.day = (week-1)*7 + dayOfWeek.
- Unix @N emits 1970-01-01 anchor + relative.second = N.

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

3986 of 4947 relevant lines covered (80.57%)

217.5 hits per line

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