set year at -11000 then time out of control
Bug #591139 reported by
Herman Kaemingk de Lange
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stellarium |
Fix Released
|
Medium
|
Paolo Cancedda |
Bug Description
Hoi,
May be this does relate somehow to 585068 or 589703.
Wanting to look at Aquarius 12000 years ago......
Using the date and time window
In this version 0.10.5 the time is out of control (counting down, stopping between -8000 and -9000)
It stops at -9095 / 2 / 0 (status line: -9095-2-00)
example 1: the date time window shows -6756 / 10 / 31; the status line shows -6755-00--17
example 2: setting the date from -4800 / 10 / 31 to -4801 / 10 / 31 the statusline shows -4800-10-31 to -4800-00--29
hope this is helpful
herman
Related branches
lp:~pac72/stellarium/jdate-fixes
- Fabien Chéreau: Approve
-
Diff: 565 lines (+442/-46)4 files modifiedsrc/CMakeLists.txt (+1/-1)
src/core/StelUtils.cpp (+105/-45)
src/tests/testDates.cpp (+327/-0)
src/tests/testDates.hpp (+9/-0)
Changed in stellarium: | |
assignee: | nobody → Paolo Cancedda (pac72) |
Changed in stellarium: | |
status: | Confirmed → In Progress |
Changed in stellarium: | |
status: | In Progress → Fix Committed |
Changed in stellarium: | |
milestone: | none → 0.10.6 |
Changed in stellarium: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It seems to be a problem with negative JDs, i.e. dates before -4712. Maybe a problem with the QDateTime?