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

KarpelesLab / strtotime / 24298518120
81%

Build:
DEFAULT BRANCH: master
Ran 12 Apr 2026 04:20AM UTC
Jobs 1
Files 11
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

12 Apr 2026 04:19AM UTC coverage: 82.066% (+0.1%) from 81.955%
24298518120

push

github

MagicalTux
Fix month overflow in "first/last day of next/last month" expressions

When the base date is the last day of a month and the target month has
fewer days (e.g., Jan 31 → Feb), using time.AddDate(0, ±1, 0) overflows
into the following month. Compute the reference using day=1 so "first
day of next month" from Jan 31 correctly lands on Feb 1, not Mar 1.

Fixes parseFirstLastDayOfDate, parseNumberedWeekday, and
tryParseFirstLastDayOfExpression.

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

14 of 16 new or added lines in 2 files covered. (87.5%)

2956 of 3602 relevant lines covered (82.07%)

185.25 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
80.99
0.05% strtotime.go
Jobs
ID Job ID Ran Files Coverage
1 24298518120.1 12 Apr 2026 04:20AM UTC 11
82.07
GitHub Action Run
Source Files on build 24298518120
  • Tree
  • List 11
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24298518120
  • 77af81f3 on github
  • Prev Build on master (#24284291814)
  • Next Build on master (#24318311532)
  • 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