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

moment / moment
100%
master: 88%

Build:
Build:
LAST BUILD BRANCH: wip/weird-weeks
DEFAULT BRANCH: master
Repo Added 22 Jul 2015 04:36PM UTC
Files 333
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 bugfix/iso-week-parse-small-years
branch: bugfix/iso-week-parse-small-years
CHANGE BRANCH
x
Reset
  • bugfix/iso-week-parse-small-years
  • 2.22.1
  • 2.22.2
  • 2.23.0
  • 2.24.0
  • 2.25.0
  • 2.25.1
  • 2.25.2
  • 2.25.3
  • 2.26.0
  • 2.27.0
  • 2.28.0
  • 2.29.0
  • 2.29.1
  • audit-fixes-2
  • better-array-locale-pick
  • build-2.24.0-issues
  • dependabot
  • develop
  • eslint-prettier
  • fix-builds
  • fix-humanize-args
  • fix-iso-week-getter
  • fix-iso-weeks
  • fix-load-grunt-tasks
  • fix-tests-again
  • fix-travis
  • fmt-fix
  • fr-no-dot
  • issue-4415
  • ka-tests
  • km/es-invalid
  • km/javid-fixes
  • km/locale-sort-weekdays
  • km/te-typo
  • km/vulnerabilities
  • marwahaha-issue-templates
  • master
  • mdevelop
  • moment-timezone-0.5.30
  • months-parse-checker
  • pr_5044
  • security
  • support-YYYYMM
  • support-relative-week
  • tk-patch

pending completion
1572

push

travis-ci

ichernev
Fix iso week parsing for small years

Apparently Date.UTC works only for years after 1900:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date

To form an iso date, from any given year you should use an iso formatted
string. That string doesn't need 'Z' in the end ...

5 of 5 relevant lines covered (100.0%)

1.0 hits per line

Relevant lines Covered
Build:
Build:
5 RELEVANT LINES 5 COVERED LINES
1.0 HITS PER LINE
Source Files on bugfix/iso-week-parse-small-years
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1572 bugfix/iso-week-parse-small-years Fix iso week parsing for small years Apparently Date.UTC works only for years after 1900: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date To form an iso date, from any given year you should use an iso forma... push 22 Jan 2016 03:26PM UTC ichernev travis-ci pending completion  
See All Builds (923)
  • 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