when I put [agnDATE type=2] in my template html or text I get Mittwoch 28 Januar 2009 returned. I am not sure how to adjust this to be in english.
I have Openemm 5.5.1-1 installed
Thanks,
Jeremy
agndate displays in german
Moderator: moderator
Re: agndate displays in german
There are two undocumented attributes you can use with the [agnDATE] tag to control the locale used for formatting the date in Java.
Example for a swedish date:
The list of possible language- and country codes are limited to those of the java.util.Locale class, documented here: http://java.sun.com/javase/6/docs/api/j ... ocale.html
Basically the Sun documentation just references other sites:
OpenEMM team; could you please update the documentation for [agnDATE] in Appendix A of the user manual and add the undocumented attributes? (Also the page number for agnDATE in the index is wrong, referring to the index page and not the appendix.)
Regards,
Martin
Example for a swedish date:
Code: Select all
[agnDATE type="2" language="sv" country="SE"]
Basically the Sun documentation just references other sites:
- ISO-639 language code list: http://www.loc.gov/standards/iso639-2/englangn.html (for the language= attribute)
- ISO-3166 country code list: http://www.iso.ch/iso/en/prods-services ... t-en1.html (for the country= attribute)
Code: Select all
[agnDATE type="2" language="en" country="US"]
Regards,
Martin
That fixed it.
Thank you for the help that fixed it.
Jeremy
Jeremy