I can add the calendar type to the sort key, so that it always prefers one to the other.
If you want this logic adding, can you let me know which calendar should take priority, and whether you want the same logic on first-year as well as last-year.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We see still the Hebrew birth year on the statistics block, when the child was born between sunset and midnight.
For instance when the Gregorian date is "20 FEB 2008" and the Hebrew date is "@#DHEBREW@ 15 ADR 5768".
We should check for equal dates or equal+1 day in the Hebrew date.
By the way, if the Hebrew date is written in the GEDCOM before the Gregorian date, we see only the Hebrew date in charts, the Close relatives Tab and on the family page.
Meliza
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1466942
Originator: NO
These two dates are the same (i.e. they have the same julian day).
We simply find the date with the highest JD, and then print the year for that date.
If there is more than one date with the same JD, one will be picked at random.
Logged In: YES
user_id=1466942
Originator: NO
...continued (clicked submit too soon).
I can add the calendar type to the sort key, so that it always prefers one to the other.
If you want this logic adding, can you let me know which calendar should take priority, and whether you want the same logic on first-year as well as last-year.
Logged In: YES
user_id=959928
Originator: YES
I would prefer on my site the Gregorian dates both for the earliest and the latest dates, others might prefer other calendars as the primary ones.
Meliza
Logged In: YES
user_id=1466942
Originator: NO
SVN2626. Where equal dates exist, gregorian dates are given priority.
Logged In: YES
user_id=959928
Originator: YES
I see still 5768 for the Latest Birth Year even after I clean the cache.
SVN revision: 2640
Logged In: YES
user_id=1466942
Originator: NO
The statistics class has been rewritten (without this logic).
I've added it back in.
SVN2909
Logged In: YES
user_id=959928
Originator: YES
We see still the Hebrew birth year on the statistics block, when the child was born between sunset and midnight.
For instance when the Gregorian date is "20 FEB 2008" and the Hebrew date is "@#DHEBREW@ 15 ADR 5768".
We should check for equal dates or equal+1 day in the Hebrew date.
By the way, if the Hebrew date is written in the GEDCOM before the Gregorian date, we see only the Hebrew date in charts, the Close relatives Tab and on the family page.
Meliza