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

KarpelesLab / strtotime
81%

Build:
DEFAULT BRANCH: master
Repo Added 16 Mar 2026 04:22PM UTC
Token vEqRjMhO5ZGEvwl3MsP0s4AeGR6sADsfG regen
Build 46 Last
Files 14
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • master

13 Apr 2026 12:22PM UTC coverage: 81.495% (-0.1%) from 81.607%
24343082759

push

github

MagicalTux
Fix date_parse parity: whitespace-only, hour 24, zero dates, dotted zeros

- Whitespace-only input no longer emits "Empty string" error (bug35499)
- Preserve literal hour=24 with warning in date+time formats (bug52430)
- Report literal year/month/day=0 for "0000-00-00" inputs (bug41523)
- Handle invalid dotted dates "00.00.0000 - 00:00:00" (bug41709)

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

90 of 112 new or added lines in 2 files covered. (80.36%)

5 existing lines in 2 files now uncovered.

4831 of 5928 relevant lines covered (81.49%)

306.94 hits per line

Relevant lines Covered
Build:
Build:
5928 RELEVANT LINES 4831 COVERED LINES
306.94 HITS PER LINE
Source Files on master
  • Tree
  • List 14
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
24343082759 master Fix date_parse parity: whitespace-only, hour 24, zero dates, dotted zeros - Whitespace-only input no longer emits "Empty string" error (bug35499) - Preserve literal hour=24 with warning in date+time formats (bug52430) - Report literal year/month/... push 13 Apr 2026 12:22PM UTC MagicalTux github
81.49
24321925289 master Quirk: "at" / "on" filler words reported as TZ lookup errors PHP treats "Jan 15 at 10:00" / "Monday at 10am" / "10am on Monday" as date + time with a TZ lookup error at the "at"/"on" position. The token parser now recognises those two filler word... push 13 Apr 2026 01:47AM UTC MagicalTux github
81.61
24321889303 master Fix weekday-prefix advance in DateParse, accept single-digit TZ hours - parseDayMonthYearInto now reparses the date fields via extractDMYFromFields so DateParse reports the original year/month/day even when the weekday prefix doesn't match th... push 13 Apr 2026 01:46AM UTC MagicalTux github
81.56
24321824310 master Token parser: emit per-character "Unexpected character" errors When the token parser encounters an unparseable token, each byte now gets its own "Unexpected character" error at the byte offset (Token.Pos + i), matching PHP timelib. dispatchStrToT... push 13 Apr 2026 01:43AM UTC MagicalTux github
81.6
24321793434 master More quirks: digit-ordinal weekday, weekday-prefix time=0, tiny numeric TZ - "1st Monday of December 2008" / "2nd Tuesday of June 2023" — digit-form "Nth <weekday> of <Month> <Year>" now replicates PHP's quirky shape: day=1 anchor, weekday=N ... push 13 Apr 2026 01:42AM UTC MagicalTux github
81.57
24321742157 master Quirk: "Nth of <Month> <Year>" emits PHP's error/warning pattern parseOrdinalOfMonthYearInto detects "4th of July 2023" style inputs and reproduces PHP timelib's quirky shape: day=1 (the ordinal is discarded), "Double timezone specification" warn... push 13 Apr 2026 01:39AM UTC MagicalTux github
81.32
24321692866 master More PHP quirks: @ unix + double TZ, bare short digits - parseUnixTimestampInto now emits "Double timezone specification" warning at the position of the trailing TZ when present (@1234567890 UTC etc.). - New parseBareDigitsFallbackInto reproduc... push 13 Apr 2026 01:37AM UTC MagicalTux github
81.31
24321653167 master Quirk: compound purely-relative expressions accumulate into Relative parseCompoundRelativeInto handles "-1 week +2 days" / "+1 year -2 months" / "-3 hours +10 minutes" by walking each signed "[+-]N unit" piece and accumulating into the ParsedDate... push 13 Apr 2026 01:35AM UTC MagicalTux github
81.17
24321626469 master Quirks: ISO ordinal YYYY-DDD, date + relative + time compound - parseYearMonthFormatInto treats the 3-digit form as YYYY-MM=1-DD (not as day-of-year): day > 31 now emits "The parsed date was invalid" (matches PHP's "day of January out of rang... push 13 Apr 2026 01:34AM UTC MagicalTux github
81.04
24321565555 master Weekday prefix: record original date, add TZ pd population in token parser - tryWeekdayPrefixReparse refactored to parse the rest via dispatchStrToTime so DateParse sees the original year/month/day (PHP does not advance the date when the week... push 13 Apr 2026 01:31AM UTC MagicalTux github
81.58
See All Builds (46)

Badge your Repo: strtotime

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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