Skip to content

XMLUnit.NET 2.11.2

Latest

Choose a tag to compare

@bodewig bodewig released this 31 Jul 17:08
v2.11.2
3c1734d

This release adds an option to specify the culture used to parse patterns in the isDateTime placeholder.

Full list of changes:

  • IsDateTimePlaceholderHandler now supports an optional second argument specifying a
    different CultureInfo than the invariant culture used by default as
    CultureInfo name like de or fr-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 - making isDateTime
    match what the Java version does mor closely.

    PR #54 based on
    PR xmlunit/#335 by @jmestwa-coder