We are using crozone/FormatWith to fill mail templates. These email templates must be sent in Spanish. However when trying to format the dates they appear in English.
Is there a mechanism to define the CultureInfo of the format?
vartemplate="{d:dddd, MMMM dd, yyyy}";varstringDictionary=newDictionary<string,object>{{"d",newDateTime(2025,12,31,5,10,20)},};varresult=template.FormatWith(template,stringDictionary);Assert.AreEqual("Wednesday, December 31, 2025",result);Thanks in advance.
We are using
crozone/FormatWithto fill mail templates. These email templates must be sent in Spanish. However when trying to format the dates they appear in English.Is there a mechanism to define the CultureInfo of the format?
Thanks in advance.