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

philihp / week-date
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Repo Added 15 May 2026 01:57AM UTC
Token xfAN3Q3xO2SAh3nNGQ4LGX7dHZhZYQzgn regen
Build 21 Last
Files 1
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 claude/debug-library-QZATS
branch: claude/debug-library-QZATS
CHANGE BRANCH
x
Reset
Sync Branches
  • claude/debug-library-QZATS
  • claude/modernize-deps
  • claude/stoic-meitner-qkOnv
  • main
  • master
  • renovate/actions-checkout-6.x
  • renovate/actions-setup-node-6.x
  • renovate/node-14.x
  • renovate/node-22.x
  • renovate/node-24.x
  • renovate/prettier-2.x

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

Relevant lines Covered
Build:
Build:
18 RELEVANT LINES 18 COVERED LINES
12.67 HITS PER LINE
Source Files on claude/debug-library-QZATS
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25896070316 claude/debug-library-QZATS 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) ? ... Pull #33 15 May 2026 01:57AM UTC claude github
100.0
See All Builds (21)

Badge your Repo: week-date

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