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

JuliaLang / julia / #37785
77%

Build:
DEFAULT BRANCH: master
Ran 21 May 2024 12:21PM UTC
Jobs 1
Files 360
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

21 May 2024 04:08AM UTC coverage: 86.612% (-0.8%) from 87.451%
#37785

push

local

web-flow
Fix Date parsing crash when parsing a negative year (#53981)

Fixes #50328.
Originally checked on version 1.10.0 but still relevant in the current
version in master

Bug: In method Date(str), when given a negative year as an argument (ex:
"-2000"), it would output an error while in Date(int) once given a
negative year (ex: "-2000") it would work as intended returning
"-2000-01-01".

Fix: In function tryparsenext_base10 the character '-' wasn't being
accounted so i check if it existed in the first iteration of the string
and if yes I would multiply the output * -1.

Test: Added some tests that verify this specific Fix.

---------

Co-authored-by: Jameson Nash <vtjnash@gmail.com>
Co-authored-by: Viral B. Shah <ViralBShah@users.noreply.github.com>

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

831 existing lines in 25 files now uncovered.

75883 of 87613 relevant lines covered (86.61%)

15417972.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #37785.1 21 May 2024 12:21PM UTC 0
86.61
Source Files on build #37785
Detailed source file information is not available for this build.
  • Back to Repo
  • 4366a938 on github
  • Prev Build on master
  • Next Build on master
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