NUKnightLab / NUKnightLab/TimelineJS3

Problem with dates "billion" years BC (in Hungarian version)

Open
#579 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
3.2k
Forks
645
PR merge metrics
No merged PRs in 30d

Description

If you enter dates like -14 000 000 000 (14 billion years BC) it is rendered as "14 billion" in the english version, but as "14 000 million" in the hungarian... it should be "14 milliárd" ("milliárd" is the hungarian word for billion)

You can easily compare the two behaviour...

https://cdn.knightlab.com/libs/timeline3/latest/embed/index.html?source=1JGtBV78aKH-r7KbzRwnksLXhk3htue02a2JhKSSCyV4&font=Default&lang=hu&initial_zoom=2&height=650

https://cdn.knightlab.com/libs/timeline3/latest/embed/index.html?source=1JGtBV78aKH-r7KbzRwnksLXhk3htue02a2JhKSSCyV4&font=Default&lang=en&initial_zoom=2&height=650

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the discrepancy using the linked TimelineJS3 embeds with lang=hu and lang=en and the date -14 000 000 000. Trace the date-formatting and Hungarian localization entry points, then verify that the Hungarian output uses “14 milliárd” rather than “14 000 million” while the English output remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.