Re: fn:format-dateTime without place parameter does not use the system time zone

Michael Kay <mike-JkSD5nQpfvpWk0Htik3J/[email protected]> Sat, 15 May 2021 23:57:47 +0100
Newsgroups gmane.text.xml.saxon.help
Message-ID <[email protected]>
You only looked in the Saxon-HE code, I suspect. In Saxon-PE it's also used to select a Numberer for localisation purposes.

Michael Kay
Saxonica

> On 15 May 2021, at 19:34, John Ulric <[email protected]> wrote:
> 
> > Possibly yes: it's also used in conjunction with the language when loading a Numberer.
> 
> I've scanned the Saxon code for usages of the default country, and apart from being an offer for API users through Configuration.set/getDefaultCountry and .set/getConfigurationProperty(FeatureCode.DEFAULT_COUNTRY), the only internal use in the open source part of Saxon seems to be as a fallback place in formatDate(…) / FormatDate.java:93. So using a time zone ID as the default country seems safe enough for now.
> 
> Thanks again for your help.
> 
> John
> _______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/saxon-help



_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help