difference-between in DAYOFYEAR reports values > 365
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the time:difference-between statement with the dates given, then locate the implementation and documentation for the DAYOFYEAR unit. Determine whether the intended result is a bounded day-of-year difference or a total-day difference, and consider the issue resolved when the behavior and its documented expectation are consistent.
Written by the indexing model from the issue text.
Description
I think this is a bug; if not, a documentation issue. This statement:
time:difference-between logotime1 logotime2 "DAYOFYEAR"
produced a value of -29219 when logotime1 is 12/18/2315 and logotime2 is 12/18/2235
If the difference in "DAYOFYEAR" units is the difference in the julian date, then it should be between -365 and +365. Instead it seems that we are getting the difference in total days.
- Dominant language
- Scala
- Stars
- 8
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NetLogo/Time-Extension
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 68/100
NetLogo/Time-Extension#39 ·
-
NetLogo/Time-Extension#53 · 5 comments · 1 assignee ·
-
documentation
NetLogo/Time-Extension#52 · 9 comments · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
NetLogo/Time-Extension#50 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
NetLogo/Time-Extension#49 ·
All issues in NetLogo/Time-Extension
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ergoplatform/ergodocs#614 ·
-
area:ci enhancement requires-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
apache/datafusion-comet#6078 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
[VL] madvise(WILLNEED) call fails in MmapFileStream because of wrong calculation of fetching length Openbug triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
chipsalliance/rocket-chip#3831 ·