GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Author
Posted Monday, May 21, 2007 - Post #17807
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 11:33 AM
Posts: 4,887, Visits: 22,773
EDilena (5/21/2007)

I obtain :
was born abcefghijklmnopqrstuwxy Aug 1875.

What happen with the "d" ?

I have no idea.  What version of GenoPro are using?  I know it should not change mutch, as the date formatting code was written prior v2.0.0.0, however this could give some hints.  On my machine, the date formatting appear to work fine.

Edited: Monday, May 21, 2007 by GenoProSupport

Posted Monday, May 21, 2007 - Post #17809
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 3.0.1.1

Last Login: Friday, April 9, 2021
Posts: 21, Visits: 422
My version is 2.0.0.4
The tag is FmtYM from the FmtDateNarrative Group.


The report is customized.
Maybe i change any relevant data?





Edited: Monday, May 21, 2007 by EDilena
Posted Monday, May 21, 2007 - Post #17810
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 3.0.1.1

Last Login: Friday, April 9, 2021
Posts: 21, Visits: 422
Work fine when the date is complete. Ej: 15/8/1875
I obtain :
abcdefghijklmnopqrstuvwxyz Aug 15th, 1875. Ok !

In this case the tag used is FmtYMD


The problem is with the tag : FmtYM when the date is incomplete
Ej: 8/1875
abcefghijklmnopqrstuvwxyz Aug 1875
Posted Monday, May 21, 2007 - Post #17814
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Important Contributors
Customers
GenoPro version: 3.1.0.1

Last Login: Saturday, December 28, 2024
Posts: 193, Visits: 4,270
d=day? And if there is no day specified, no d remains :w00t


Feri


Edited: Monday, May 21, 2007 by fbukolyi
Posted Monday, May 21, 2007 - Post #17816
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 12:28 AM
Posts: 3,396, Visits: 26,170
Some more evidence for this suspected bug.

Attached is a very simple skin (Config.xml, Dictionary.xml, TestIt.vbs) and a test .gno (TestIt.gno) that demonstrate the problem.

The relevant Dictionary entries are

 <FmtDateNarrative>
  <!-- Templates to format narrative dates -->
  <FmtYMD>&#32;[on|around|before|after] MMMM D, yyyy</FmtYMD>   <!-- He was born on January 31st, 2006 -->
  <FmtYM>&#32;[!dddd"dd"!|around|before|after] MMMM yyyy</FmtYM> <!-- He was born in January 2006 -->
  <FmtY>&#32;[in|around|before|after] yyyy</FmtY>  <!-- He was born in 2006 -->
  <FmtMD>&#32;[on|around|before|after] MMMM D</FmtMD>  <!-- He was born on January 31st -->
 </FmtDateNarrative>

 <!-- Short and long date formats are only taken if day month and year are known, otherwise the default date format is used -->
 <!-- date.ToString("d") -->
 <FmtDateShort>[|~|&lt;|&gt;]yyyy-MM-dd</FmtDateShort>    <!-- 2006-01-31 -->
 <!-- date.ToString("D") -->
 <FmtDateLong>[|around |before |after ]dddd, MMMM D, yyyy</FmtDateLong>   <!-- Monday, January 31st, 2006 -->

 <FmtDateRange>
  <FmtYMD>[|around |before |after ]MMMM D, yyyy</FmtYMD>
  <FmtYM>[|around |before |after ]MMMM yyyy</FmtYM>
  <FmtY>[|around |before |after ]yyyy</FmtY>
  <FmtMD>[|around |before |after ]MMMM D</FmtMD>
  <FmtSince>&#32;from {0}</FmtSince> <!-- eg: "Daniel has been working on GenoPro from 1998" -->
  <FmtUntil>&#32;until {1}</FmtUntil> <!-- eg: "Daniel was a student until 1999" -->
  <FmtFromTo>&#32;from {0} to {1}</FmtFromTo> <!-- eg: "Daniel worked at Microsoft from 1994 to 1998" -->
 </FmtDateRange>

with this script

<%[
For Each i in Individuals
Report.LogWarning i & " born" & i.Birth.Date.ToStringNarrative & "/" & i.Birth.Date.ToString("") & ": died " & i.Death.Date.ToStringNarrative & "/" & i.Death.Date.ToString("") & ". Life Span" & i.Birth.Date.FormatDateSpan(i.Death.Date)
Next
Report.AbortReport
]%>

with the supplied .gno produces

"Month & Year Test" born !""! August 1951/Aug 1951: died !""! April 2002/Apr 2002. Life Span from August 1951 to April 2002

"Approx month & year Test" born aroun August 1951/~~Aug 1951: died aroun April 2002/~~Apr 2002. Life Span from arounAugust 1951 to arounApril 2002

All the 'd's have gone. The double ~ in "~~Aug 1951" and "~~Apr 2002" is also incorrect.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Monday, May 21, 2007 by Ron
Posted Tuesday, May 22, 2007 - Post #17822
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 11:33 AM
Posts: 4,887, Visits: 22,773
Thank you for your patience and for submitting examples.  I have finally found the problem and working on a fix...

Edited: Tuesday, May 22, 2007 by GenoProSupport
Posted Wednesday, May 23, 2007 - Post #17847
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 11:33 AM
Posts: 4,887, Visits: 22,773
I created a build at http://www.genopro.com/download/InstallGenoPro.2.0.0.5.DateFix.exe.  I have tested to my best and consider it works, however I would like someone to confirm with me.
Posted Wednesday, May 23, 2007 - Post #17849
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 3.0.1.1

Last Login: Friday, April 9, 2021
Posts: 21, Visits: 422
OK!! Is Fixed!!

Thank you!
Posted Wednesday, May 23, 2007 - Post #17861
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 12:28 AM
Posts: 3,396, Visits: 26,170
Yep, seems fine to me too. Great!


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Friday, June 8, 2007 - Post #18026
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers
GenoPro version: 3.1.0.1

Last Login: Tuesday, May 21, 2024
Posts: 6, Visits: 36
I'm sorry, but the fix is not working well.

I'm using the skin 2.0.0.6, with the fix for the date, and having the following in the Dictionary.xml

 <FmtDateNarrative>
  <!-- Templates to format narrative dates -->
  <FmtYMD>&#32;[el|'alrededor del'|'antes del'|'después del'] d 'de' MMMM 'de' yyyy</FmtYMD>   <!-- Nació el 31 de Enero de 2006 -->
  <FmtYM>&#32;[en|'alrededor de'|'antes de'|'después de'] MMMM  'de' yyyy</FmtYM>  <!-- Nació en Enero de 2006 -->
  <FmtY>&#32;[en|'alrededor de'|'antes de'|'después de'] yyyy</FmtY>   <!-- Nació en 2006 -->
  <FmtMD>&#32;[el|'alrededor del'|'antes del'|'después del'] d 'de' MMMM</FmtMD>  <!-- Nació el 31 de Enero -->
 </FmtDateNarrative>

if we have birth date as: --- We get : ---

7/11/1960     nació el 7 de Noviembre de 1960. (ok)

11/1960        nació en Nov. (? short month and no year)

1960            nació en 1960 (ok)

7/11            nació el .  (? no day, no month, but the incomplete phrase appears)

I get this formatting error in personal an familiar pages (at least I haven't seen it in other places)

Another problem is: If I put a text within single quotes in the format that not contains "d" the text doesn't appear anymore

  <FmtYMD>&#32;['el'|'alrededor del'|'antes del'|'después del'] d 'de' MMMM 'de' yyyy</FmtYMD>   <!-- Nació el 31 de Enero de 2006 -->

with 7/11/1960 --> nació 7 de Noviembre de 1960

Another tip.

in header.htm, perhaps it's worth to change

<img src="images/genopro.logo.gif" title="Create Your Family Tree in Minutes!" alt="Create Your Family Tree in Minutes!" width="36" height="36" border="0"/></a>

to

<img src="images/genopro.logo.gif" title="@[Report.Write Dic("AltGenoProLogo")]@" alt="@[Report.Write Dic("AltGenoProLogo")]@" width="36" height="36" border="0"/></a>

Sorry by my poor English :-)


 



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 3 - 1 guest, 1 member, 0 anonymous.
Refresh