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

philihp / week-date / 25896070316
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: renovate/actions-setup-node-6.x
DEFAULT BRANCH: master
Ran 15 May 2026 01:57AM UTC
Jobs 1
Files 1
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

15 May 2026 01:56AM UTC coverage: 100.0%. First build
25896070316

Pull #33

github

claude
Fix ISO week-date parsing for years where Jan 4 is Sunday

- Use ISO weekday (Mon=1..Sun=7) instead of JS Date#getDay (Sun=0)
  in the Jan-4 lookup. Without this, parsing 2009-W01-1..4 produced
  dates 7 days late.
- Drop the `doy` "d > days(y) ? d - 7 : d" hack; it masked the
  weekday-convention bug for W53 cases but broke W01 cases. The
  `d + daysSince(y)` arithmetic already handles ordinal days that
  fall outside the year.
- Export `{ parse }` as the default so the README's
  `import WeekDate from 'week-date'; WeekDate.parse(...)` works
  (previously the default export was `undefined`).
- Bump @babel/{cli,core,preset-env} to current 7.x so the build
  doesn't fail loading its own transitive plugins; remove the now-
  unused `year-days` runtime dep; bump @philihp/eslint-config from
  3.0.1 (broken: missing `./unicorn`) to 3.0.2.

All 22 tests pass.
Pull Request #33: Fix ISO week-date parsing when Jan 4 is a Sunday

2 of 2 branches covered (100.0%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 1 file covered. (100.0%)

18 of 18 relevant lines covered (100.0%)

12.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25896070316.1 15 May 2026 01:57AM UTC 1
100.0
GitHub Action Run
Source Files on build 25896070316
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #33
  • 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