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

DiscoNova / calendar-helper / 8 / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: wip/julian-vs-gregorian
DEFAULT BRANCH: master
Ran 06 Nov 2021 02:15PM UTC
Files 1
Run time 0s
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

06 Nov 2021 02:13PM UTC coverage: 100.0%. First build
8.1

push

travis-ci-com

Markku Uttula
Additional test for demonstrating possible issues

This test was suggested to me personally in order to demonstrate a basic real
life difficulty when handling dates around specific "magic" dates - in this case
the original transition period from Julian to Gregorian calendar in October 1582
which literally is supposed to "skip" 10 days.

JavaScript's native Date-object does not handle Julian dates; instead, it does
represent what the dates would have been if the Gregorian calendar had been in
use non-stop throughout history. This is generally just fine for most real life
cases where calendar only needs to show accurate dates not further back in the
past than four and a half century, which generally is "good enough" for most
developers of modern software.

For historical accuracy, though, this can definitely lead to problems. However,
I believe that in such cases the date value is most likely the least of the
issues that need to be thought out. Some additional issues I can easily come
up with off the top of my head are:

* handling chinese, japanese, buddhist, muslim, hebrew, etc. calendars (that
  are still widely used around the world)
* how to visually represent what calendar is in use
* mixing & matching the various calendars

That is a can of worms I don't really feel comfortable opening at this time.

Because of this, I created this one test to demonstrate that there are known
limitations in the package; they are known, but not addressed in implementation.

10 of 10 branches covered (100.0%)

Branch coverage included in aggregate %.

25 of 25 relevant lines covered (100.0%)

61.84 hits per line

Source Files on job 8.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 8
  • Travis Job 8.1
  • f241202c 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