core.getDate() always returns UTC time, not local
Bug #578101 reported by
Khalid AlAjaji
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stellarium |
Fix Released
|
Low
|
Fabien Chéreau |
Bug Description
When using core.getDate() in a script, it always returns UTC time wether or not "utc" parameter is used.
Function documentation states that:
QString StelMainScriptA
get the simulation date and time as a string in ISO format, e.g.
"2008-
Parameters:
spec if "utc", the returned string's timezone is UTC, else it is local time.
Returns:
the current simulation time.
Changed in stellarium: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I forgot to mention Stellarium release. I tested this function under 0.10.4 and svn r6268. Same behaviour.
Thanks