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 #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 #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 #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: Monday, June 2, 2025
Posts: 4,886, Visits: 22,796
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 #17806
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
Sorry, but not work for me.

I have an individual with this date of birthday : 8/1875 (Aug 1875)

With this tag :
<FmtYM>[abcdefghijklmnopqrstuwxyz|around |before |after ]MMM yyyy</FmtYM>

I obtain :
Name was born abcefghijklmnopqrstuwxy Aug 1875.

What happen with the "d" ?


Edited: Monday, May 21, 2007 by EDilena
Posted Sunday, May 20, 2007 - Post #17798
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: Monday, June 2, 2025
Posts: 4,886, Visits: 22,796
You can always insert quotes inside the square brackets [] or within the template.  I did a few tests and here are the results.  I wonder why your 'd' inside the square brackets inserts the day in the date.

[|around |before |after ]MMM yyyy produces around Dec 2006
[|around |before |after ]'MMM' yyyy produces around MMM 2006
[|around |before |after ]"MMM" yyyy produces around MMM 2006
[|around |before |after ]'"'yyyy produces around "2006
[|around |before |after ]"'"yyyy produces around '2006
[|'around' |before |after ]yyyy produces 'around' 2006
[|"around" |before |after ]yyyy produces "around" 2006
[|around |before |after ]yyyy'D' produces around 2006D
[|around |before |after ]yyyy'd' produces around 2006d
[|around |before |after ]yyyy"D" produces around 2006D
[|around |before |after ]yyyy"d" produces around 2006d

Using the following template

[ondD|aboutdD|beforedD|afterdD] MMMM D, yyyy

I got the following

Harry was born ondD July 31st, 1980.


Edited: Sunday, May 20, 2007 by GenoProSupport
Posted Saturday, May 19, 2007 - Post #17790
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: 50 minutes ago
Posts: 3,429, Visits: 26,550
Dan, do you have any idea as to when you might be able to fix this bug in the Report Generator date formatting reported by EDilena?

It would appear that in any Date Format Pharase that involves just Year & Month the GenoPro code removes any occurrence of the letter 'd' from it!

So if I have 

<FmtDateRange>
  <FmtYM>[|about |before |after ]MMM yyyy</FmtYM>

I get the report fragment  Bill attended a school full time from about Mar 1895

But if instead I have: 

<FmtDateRange>
  <FmtYM>[|around |before |after ]MMM yyyy</FmtYM>

I get the report fragment  Bill attended a school full time from arounMar 1895 i.e. the 'd' in 'around' and the following space has been removed by GenoPro Report Generator.

This effect seems to occur with any 'd' anywhere in the format string.

This bug will obviously effect language translation to French as well as Spanish and perhaps others too.

As well as the letter 'd' in the approximation strings it should also allow 'd' in quoted strings e.g. MMMM "de" yyyy



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


Edited: Saturday, May 19, 2007 by Ron
Posted Saturday, April 21, 2007 - Post #17458
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: 50 minutes ago
Posts: 3,429, Visits: 26,550
This appears to be a bug in the GenoPro Report Generator itself, rather than the skin, and so it is somelthing Dan will need to look at.

As you say, you should be able to put any extra text, including the letter d, in quotation marks or apostrophes and indeed this works for FmtYMD and FmtY. The Dictionary contains the comment, from Dan: GenoPro uses the standard date formatting options from the .NET framework. and so I presume the format allowed is as per http://msdn2.microsoft.com/en-us/library/8kb3ddd4.aspx.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Saturday, April 21, 2007 - Post #17453
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
I want to thank for your interest in translating my problem.
thank you very much

Eduardo Dilena
Posted Friday, April 20, 2007 - Post #17438
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
Translator
GenoPro version: 3.1.0.1

Last Login: Thursday, May 8, 2025
Posts: 103, Visits: 2,091
Hi Ron,

Is there any way to use the letter "d" in the tag <FmtYM>  of the <FmtDateNarrative> secction?, as EDilena noticed, in the other tags of the same secction its possible by adding quotation marks, but in <FmtYM>  tag it doesn't work.

Here is a sample of the translation:

<FmtDateNarrative>
        <!-- Templates to format narrative dates -->
        <FmtYMD>&#32;[el|aproximadamente el|antes del|después del] D "de" MMMM "de" yyyy</FmtYMD> <!-- He was born on January 31st, 2006 --> OK
        <FmtYM>&#32;[en|más o menos por el mes de|antes del mes de|después del mes de] MMMM "de" yyyy</FmtYM> <!-- He was born in January 2006 --> ERROR
        <FmtY>&#32;[en|más o menos por el año de|antes del año de|después del año de] yyyy</FmtY> <!-- He was born in 2006 --> OK
        <FmtMD>&#32;[el|aprox. el|antes del|después del] D "de" MMMM</FmtMD> <!-- He was born on January 31st --> OK
</FmtDateNarrative>

I also tried with Decimal Character Codes in HTML Unicode, but it doesn't work too,

 Any suggestion??

 

Thanks,

Hugo.

Posted Friday, April 20, 2007 - Post #17436
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
Translator
GenoPro version: 3.1.0.1

Last Login: Thursday, May 8, 2025
Posts: 103, Visits: 2,091
Hi Edilena,

Yes, there is a problem with the translation of the tag (I didn't notice it before becuse in the translation I did, the whole prhase simply disappear), there is currently noway to add the letter "d" for translation in  <FmtDateNarrative>
        <FmtYM>&#32;[in|about|before|after] MMMM yyyy</FmtYM> <!-- He was born in January 2006 -->

maybe Ron can help us with this issue. 

PS. EDilena, May I suggest you to use English on the elaboration of your questions. By this way, the users who do not speak Spanish (and also the the support team) could understand the question.

Hugo.



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 4 - 1 guest, 2 members, 0 anonymous.
Refresh