View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001636 | SkyChart | 1-Software | public | 17-02-09 11:19 | 17-02-10 09:40 |
| Reporter | han | Assigned To | Patrick Chevalley | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | Windows | ||||
| Target Version | 4.0 | Fixed in Version | 3.11 SVN | ||
| Summary | 0001636: Entering februari 29 in Julian period | ||||
| Description | In the Julian calendar every fourth year is a leap year. Also when it is divisible by 100. Reference Meeus Astronomical Algorithms, page 62 Entering the date 900-2-29 AD is not allowed in CdC. However entering JD 2049841.50000 works. Regards Han.k hnsky.org | ||||
| Tags | No tags attached. | ||||
|
|
Suggested code: if year3>1582 then {Gregorion} begin if (((frac(year3/4)=0) and (frac(year3/100)<>0)) or (frac(year3/400)=0)) {2000 is a leap year} then days[2]:=29 {leap year} else days[2]:=28;{Days in februari end else {Julian years} begin if frac(year3/4)=0 then days[2]:=29 {leap year} else days[2]:=28;{days in Februari} end; |
|
|
Thank you Han! This is fixed in revision 3493: https://sourceforge.net/p/skychart/code/3493/ |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 17-02-09 11:19 | han | New Issue | |
| 17-02-09 11:33 | han | Note Added: 0003594 | |
| 17-02-10 09:32 | Patrick Chevalley | Project | CCdciel => SkyChart |
| 17-02-10 09:40 | Patrick Chevalley | Assigned To | => Patrick Chevalley |
| 17-02-10 09:40 | Patrick Chevalley | Status | new => resolved |
| 17-02-10 09:40 | Patrick Chevalley | Resolution | open => fixed |
| 17-02-10 09:40 | Patrick Chevalley | Category | General => 1-Software |
| 17-02-10 09:40 | Patrick Chevalley | Fixed in Version | => 3.11 SVN |
| 17-02-10 09:40 | Patrick Chevalley | Target Version | => 4.0 |
| 17-02-10 09:40 | Patrick Chevalley | Note Added: 0003595 |