D14939: Making more recommended xplanet changes and fixing bugs:

Jasem Mutlaq noreply at phabricator.kde.org
Wed Aug 22 18:50:21 BST 2018

mutlaqja added inline comments.


> lancaster wrote in xplanetimageviewer.cpp:902-918
> I do not believe so.  XPlanet requires its date and time to be in a numerical format with a very specific structure.  Here is a comparison of what the Date/Time looks like with the toString method and with the above code.  There may be a way to get KStarsDateTime to do this, but the toString method does not.
> Using toString: "Tue Aug 21 18:16:05 2018 GMT"
> Using current code: "20180821.181605"

That does look like ISO 8601. You can format code to ISO 8601 (Qt supports that format) then remove all dashes (-) and colons (:) and replace T with .

  R321 KStars


To: lancaster, yurchor, pino, mutlaqja, kde-edu
Cc: kde-edu, mutlaqja, pino, yurchor, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180822/978bb89a/attachment.html>

More information about the kde-edu mailing list