Date problem with Export to gedcom
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



Date problem with Export to gedcom Expand / Collapse
Author
Message
Post #20580 Posted 1/24/2008 2:18:43 PM


Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Customers
Last Login: Today @ 1:42:42 PM
GenoPro Version: 2.0.1.4
Posts: 11, Visits: 989
The export to gedcom via report writer produces a HEAD record with an erroneous date.
A gedcom generated on 22 Jan 2008 has a header date of 2 Jan 2008, three gedcoms generated on 5 Jan 2008 have header dates of 6 Jan 2008 and two on 6 Jan 2008 have a date of 0 Jan 2008 which is clearly nonsense. It does seem to be consistent from day to day but I still can't see the pattern other than that the dd part always seems to be a single digit.

BobC
Post #20587 Posted 1/25/2008 8:48:39 AM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 6:34:28 PM
GenoPro Version: 2.0.1.5
Posts: 1,048, Visits: 4,776
Thanks for reporting this BobC. I have mistakenly used the JScript function getDay() that returns the day of the week (0-6) and not the day of the month. I should have used getDate() instead. You can correct this for now in a custom skin. Change line 37 of gedcom.js to:

Report.WritePhraseDic('HEAD', ReportGenerator.SoftwareVersion, ReportGenerator.SkinVersion, today.getDate() + ' '+mmm[today.getMonth()] + ' ' + today.getYear());



'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #20588 Posted 1/25/2008 1:21:52 PM


Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Customers
Last Login: Today @ 1:42:42 PM
GenoPro Version: 2.0.1.4
Posts: 11, Visits: 989
Thanks for the prompt reply Ron. It was an annoyance more than anything else -I just manually edited the gedcom, but if you don't know it's broken you can't fix it.

BobC
Post #20595 Posted 1/26/2008 6:34:37 AM


Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Customers
Last Login: Today @ 1:42:42 PM
GenoPro Version: 2.0.1.4
Posts: 11, Visits: 989
Ron,

A minor point - I made the change and it works fine, the only thing is the code is on Line 163 not Line 37 that you mentioned. It's so far adrift I wonder if I've got an odd gedcom.js ; I've never edited it before. It's version 1.2 date last updated: 5th December 2006

BobC
Post #20601 Posted 1/27/2008 6:59:02 AM
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 7:20:24 AM
GenoPro Version: 2.0.1.5
Posts: 298, Visits: 1,766
The latest version is 2.0.0.3 ( included in GenoPro 2.0.1.4), but oddly internally it is dated as last updated 9th February 2006, which is earlier than your version . The coding begins at line 37, but the phrase in question is now at line 184.
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 10:47 PM

Copyright 1998-2008 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.