This release adds an option to specify the culture used to parse patterns in the isDateTime placeholder.
Full list of changes:
-
IsDateTimePlaceholderHandlernow supports an optional second argument specifying a
different CultureInfo than the invariant culture used by default as
CultureInfoname likedeorfr-FR.Also modified the logic when no argument is present to still try
parsing using the current culture and then trying a set of ISO
patterns using the invariant culture in turn - makingisDateTime
match what the Java version does mor closely.PR #54 based on
PR xmlunit/#335 by @jmestwa-coder