# Formatting and text-case inheritance by date-parts when date is localized

**URL:** <https://discourse.citationstyles.org/t/formatting-and-text-case-inheritance-by-date-parts-when-date-is-localized/1455>\
**Category:** CSL Development\
**Created:** [October 16, 2017, 10:16pm UTC](https://discourse.citationstyles.org/t/formatting-and-text-case-inheritance-by-date-parts-when-date-is-localized/1455 "2017-10-16T22:16:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_O\_Reilly](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@Thomas\_O\_Reilly](https://discourse.citationstyles.org/u/Thomas_O_Reilly)\
**Post date:** [October 16, 2017, 10:16pm UTC](https://discourse.citationstyles.org/t/formatting-and-text-case-inheritance-by-date-parts-when-date-is-localized/1455/1 "2017-10-16T22:16:38Z")

</div>

When a element calls the localized date format through the "form"  
attribute, the child elements can inherit (1) formatting and (2)  
text-case transformations from two different objects. The can  
inherit formatting attributes and text-case attributes from the parent  
 element - and it can inherit those same attributes from the  
corresponding defined in . There are two possible ways  
to interpret the order of inheritance.

1. Attributes declared directly in have highest priority
2. Attributes declared in element in Locale have medium priority
3. Attributes declared on parent element have low priority

OR

1. Attributes declared directly in have highest priority
2. Attributes declared on parent element have medium priority
3. Attributes declared in element in Locale have low priority

The CSL processor that I test against does not apply formatting or text-case  
transformations that are declared in elements.

I personally don’t know enough about locale variations to make an informed  
judgment on this point. My initial thought is that the order of inheritance  
should follow the first method where locale-defined elements’  
attributes take precedence over attributes defined in the parent   
element.–  
Sent from: [http://xbiblio-devel.2463403.n2.nabble.com/](http://xbiblio-devel.2463403.n2.nabble.com/)

---

<div class="post-metadata">

**Author:** ![Sebastian\_Karcher](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/sebastian_karcher/32/176_2.png) [@Sebastian\_Karcher](https://discourse.citationstyles.org/u/Sebastian_Karcher)\
**Post date:** [October 17, 2017, 1:54am UTC](https://discourse.citationstyles.org/t/formatting-and-text-case-inheritance-by-date-parts-when-date-is-localized/1455/2 "2017-10-17T01:54:35Z")

</div>

I might be overlooking something, but I’m pretty sure we don’t allow  
formatting in locales, which makes this a moot point. Conceptually, I agree  
with your intuition on the right order of priority, though.
