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

srishanbhattarai / nepcal
88%
master: 79%

Build:
Build:
LAST BUILD BRANCH: robustness
DEFAULT BRANCH: master
Repo Added 20 May 2018 03:43PM UTC
Files 7
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 v0.5.0
branch: v0.5.0
CHANGE BRANCH
x
Reset
  • v0.5.0
  • brew
  • circle-ci
  • correctness
  • dateconv
  • dependabot/add-v2-config-file
  • dependabot/go_modules/github.com/davecgh/go-spew-1.1.1
  • dependabot/go_modules/github.com/fatih/color-1.10.0
  • dependabot/go_modules/github.com/fatih/color-1.11.0
  • dependabot/go_modules/github.com/fatih/color-1.12.0
  • dependabot/go_modules/github.com/stretchr/testify-1.3.0
  • dependabot/go_modules/github.com/stretchr/testify-1.4.0
  • dependabot/go_modules/github.com/stretchr/testify-1.5.0
  • dependabot/go_modules/github.com/stretchr/testify-1.5.1
  • dependabot/go_modules/github.com/stretchr/testify-1.6.0
  • dependabot/go_modules/github.com/stretchr/testify-1.6.1
  • dependabot/go_modules/github.com/stretchr/testify-1.7.0
  • dependabot/go_modules/github.com/urfave/cli-1.21.0
  • dependabot/go_modules/github.com/urfave/cli-1.22.2
  • dependabot/go_modules/github.com/urfave/cli-1.22.3
  • dependabot/go_modules/github.com/urfave/cli/v2-2.3.0
  • docs-update
  • epoch-independence
  • experimental-grpc
  • fix-overflows
  • master
  • more-data
  • more-data-2
  • move-calendar
  • nep-numerals
  • panic-fix
  • robustness
  • stateful-writer
  • travis-go113
  • v0.3.0
  • v0.3.1
  • v0.4.0
  • v0.6.0
  • v1.0.0
  • v1.1.0
  • v1.2.0
  • v2

09 Apr 2019 06:07AM UTC coverage: 88.235%. First build
134

push

travis-ci

web-flow
fix: Avoid representing BS dates using time package to fix overflows (#24)

Fixes #23 

If a B.S. date (say जेठ 32) is represented as 02/32 (which was the case right now), toTime will (obviously) interpret it as Feb 32 which is an overflow by 32 - 29 = 3 days. So it's reinterpreted by the time package to be March 3 which is interpreted by nepcal to be असार 3.

This is now fixed by adding a separate struct BSDate.

225 of 255 relevant lines covered (88.24%)

276.01 hits per line

Relevant lines Covered
Build:
Build:
255 RELEVANT LINES 225 COVERED LINES
276.01 HITS PER LINE
Source Files on v0.5.0
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
134 v0.5.0 fix: Avoid representing BS dates using time package to fix overflows (#24) Fixes #23 If a B.S. date (say जेठ 32) is represented as 02/32 (which was the case right now), toTime will (obviously) interpret it as Feb 32 which is an overflow by 32... push 09 Apr 2019 06:10AM UTC web-flow travis-ci
88.24
See All Builds (207)
  • 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

© 2025 Coveralls, Inc