core.setDate does not work properly for relative dates
Bug #1310009 reported by
Khalid AlAjaji
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stellarium |
Fix Released
|
Low
|
Alexander Wolf |
Bug Description
0.12.4 and test release 0.13.0dev4-win32
When using the script function core.setDate to advance the time it seems to add 1 minute and 6 seconds.
Example:
core.setTimeRat
core.setDate(
core.wait(2);
core.setDate("+10 seconds")
The resulting time is 2011-12-10 15:01:16
If minutes are used
core.setDate("+10 minutes")
The resulting time is 2011-12-10 15:11:06
Related branches
tags: | added: scripting |
Changed in stellarium: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This effect given deltaT correction. If you want compatibles to 0.11 behaviour then you can disable deltaT correction.
Example: core.setDate("+10 minutes", "UTC", false);