<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>56352</bug_id>
          
          <creation_ts>2003-03-25 00:41:39 +0000</creation_ts>
          <short_desc>Allow any date to be calculated</short_desc>
          <delta_ts>2004-06-06 20:42:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kstars</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Gran">alex</reporter>
          <assigned_to>kstars</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>124974</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Gran">alex</who>
    <bug_when>2003-03-25 00:41:39 +0000</bug_when>
    <thetext>Version:           0.9.1 (using KDE 3.1.1)
Installed from:     (3.0)
Compiler:          gcc version 2.95.4 20011002 (Debian prerelease)
OS:          Linux (i686) release 2.4.20

It would be nice if kstars could calculated the starts for any given date, not just in the range 19xx-?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124981</commentid>
    <comment_count>1</comment_count>
    <who name="Thiago Macieira">thiago</who>
    <bug_when>2003-03-25 00:55:45 +0000</bug_when>
    <thetext>What do you mean, exactly? If I use the calculator in kstars, it can calculate any 
date in the Gregorian calendar. 
 
It should be noted, however, that the widget is limited by the start of the Gregorian 
era (actually, 160 years after the beginning of the Gregorian Calendar). If you enter 
any date before 15 September 1752 (which is the date of introduction of the 
calendar in the UK), it&apos;ll reset to that date. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125011</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Gran">alex</who>
    <bug_when>2003-03-25 09:02:22 +0000</bug_when>
    <thetext>Ahh, I see. 
I didn&apos;t think of the limitations of the Calendar. Is there any possibility to use a 
different one, for the ancient data? </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125079</commentid>
    <comment_count>3</comment_count>
    <who name="">kstars</who>
    <bug_when>2003-03-25 15:42:09 +0000</bug_when>
    <thetext>Hi, 
 
Thiago&apos;s absolutely right, this is a limitation of the QDate class, which is undefined 
for dates before 1752 and after about 8000.  We have discussed using an additional 
date scheme for more remote dates.  The problem is, it gets very complicated to try 
to continue to use calendar dates.  We will likely try to just use Julian Days for 
remote dates, and leave it to the user to decide how the simple count of days maps 
onto the more complicated calendar system. 
 
BTW, this is covered in the &quot;What Time is it?&quot; section of chapter 2 of the Handbook.  
I know, I know, no one reads documentation ;) 
 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125081</commentid>
    <comment_count>4</comment_count>
    <who name="Thiago Macieira">thiago</who>
    <bug_when>2003-03-25 15:49:47 +0000</bug_when>
    <thetext>I&apos;d just like to take the opportunity to reiterate my disagreement with the 1782 date in 
QDate. The Gregorian calendar was introduced in 4 October 1582 (the next day 
being the 15 October), by Pope Gregory XIII. 
 
If an arbitrary date is to be chosen, the date it was first introduced would suit best. 
Not the date it was introduced in any given country. 
 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>239444</commentid>
    <comment_count>5</comment_count>
    <who name="">kstars</who>
    <bug_when>2004-06-06 20:42:56 +0000</bug_when>
    <thetext>This bug has been fixed.  We have written our own date/time classes to replace QDateTime, KDatePicker, KDateEdit, etc.  The replacement classes can be found at kdeedu/libkdeedu/extdate, if anyone is interested.

In KStars, you can now set the date to anything between years -50000 and +50000.  This range may eventually be extended (there&apos;s no theoretical limit to the range, but the extrapolation of object positions becomes more and more meaningless at very remote dates).
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>