NUKnightLab / NUKnightLab/TimelineJS3
Error in handling big negative dates together with small positives
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 3.2k
- Forks
- 645
- PR merge metrics
- No merged PRs in 30d
Description
Hi guys,
I try to display really big negative dates (e.g 14 billion years BC) and normal dates (e.g. 2018 AD) in a single timeline, but the latter is always treated as a negative date (i.e. 2018 BC instead of AD)
It is very easy to reproduce, I'm using the original sample, so there are no other tricks in the spreadsheet
https://docs.google.com/spreadsheets/d/1JGtBV78aKH-r7KbzRwnksLXhk3htue02a2JhKSSCyV4/edit#gid=0
Contributor guide
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.
Research direction
Start with the linked Google Sheets sample and TimelineJS embed to reproduce the mixed-date timeline: a very large negative date causes 2018 AD to render as 2018 BC. Trace the date handling used by the timeline display, then verify that negative and positive dates retain their correct eras in the reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100