Can't set "before Christ" date with setDate API + 2 other little bugs

Bug #585068 reported by Ross
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Medium
Fabien Chéreau

Bug Description

It seems that you can't set a B.C. date when you use core.setDate API. I tried with:

core.setDate("-0082-01-01T12:00:00");

but without effect.It's odd, because ISO format permits the use of "-" before the digits of the year (http://en.wikipedia.org/wiki/ISO_8601#Years).

Also, dates with more than 4 digits don't work...

Ah, if you use "include" directive in a script file and the include file does not exist in the filesystem, it's not possible to stop that script. You have to re-run Stellarium.

Revision history for this message
Fabien Chéreau (xalioth) wrote :

Hi,
Thanks for the report. The first part of the bug should now be fixed in SVN.
I am goig to work on the second part tomorrow.
Fabien

Changed in stellarium:
status: New → Confirmed
assignee: nobody → Fabien Chéreau (xalioth)
importance: Undecided → Medium
milestone: none → 0.10.5
Revision history for this message
Fabien Chéreau (xalioth) wrote :

OK the bug should now be fixed in rev 6387

Changed in stellarium:
status: Confirmed → Fix Committed
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.