* Forcing the use of 'dd mmm yyyy' date format

Questions about Generic and Templated Sources within FH and their associated Citations and Repositories
Post Reply
avatar
Gary_G
Megastar
Posts: 758
Joined: 24 Mar 2023 19:05
Family Historian: V7

Forcing the use of 'dd mmm yyyy' date format

Post by Gary_G »

Is there a way to force a citation the use of "dd mmm yyyy" format?
I keep getting dates like "3 March 2024", no matter what options I try.
I really want to have something like "3 Mar 2024" everywhere.
Last edited by tatewise on 04 Mar 2024 12:39, edited 1 time in total.
Reason: Replaced " with ' in the Subject title.
Gary Gauthier
Hunting History in the Wild!
User avatar
tatewise
Megastar
Posts: 28488
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Forcing the use of 'dd mmm yyyy' date format

Post by tatewise »

I am guessing, but I presume you are talking about Dates in the Citation Footnote or Bibliography.

Dates in the Source Citation window Date metafields are displayed the same as any other Date field by using the Tools > Preferences > General tab Preferred Standard Date Format, which is usually dd mmm yyyy.

However, the Source Template Format expressions for Footnote and Bibliography always default to LONG date format. Unfortunately, the only {Date} field code qualifier is YEAR, e.g. {Date:YEAR}.
So to display other date formats use a code like {%SOUR.~DT-DATE:COMPACT%} for format dd mmm yyyy.
That works for a Source metafield named Date.
For a Citation metafield named Entry Date use a code like {%CUR~CITN.~DT-ENTRY_DATE:COMPACT%}.

That is all explained in the FH Help pages for Source Template Formats and Understanding Data References.
Last edited by tatewise on 04 Mar 2024 12:39, edited 1 time in total.
Reason: Replaced " with ' in the Subject title.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
avatar
Gary_G
Megastar
Posts: 758
Joined: 24 Mar 2023 19:05
Family Historian: V7

Re: Forcing the use of 'dd mmm yyyy' date format

Post by Gary_G »

Thanks, Mike. I previously tried doing what you just suggested. I'll give it another try. Perhaps I did something incorrectly.

---
Update:

I tried it again and this time it worked. Not sure why. Thanks for your help Mike.
Gary Gauthier
Hunting History in the Wild!
Post Reply