Skip to content

Fix specs #1

@ronaldtse

Description

@ronaldtse

Most of the specs are failing due to the ISO 8601 string differences:

                diff from    : LAST-CHANGE="2012-04-06T23:51:37+00:00"
                diff to      : LAST-CHANGE="2012-04-07T01:51:37.112+02:00"
  • "diff from" is the text generated by this library, it uses the lutaml-model date-time datatype, which produces the string "2012-04-06T23:51:37+00:00".
  • "diff to" is the original text in the XML, it uses a format that contains a decimal point with additional 3 decimal digits, plus it has the timezone properly set: "2012-04-07T01:51:37.112+02:00"

I believe this is something that needs to be fixed in lutaml-model, where the date-time that is read needs to retain its original time offset (+02:00) and the original precision.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions