This PR changes the way yaml text is parsed. It appears that ruamel.yaml persists some of its configuration, see
343
This PR stores the timestamp parser that is present before we change anything, and restores it afterwards. Additionally it configures the parser to read timestamps as timestamp under cff-version 1.0.x and 1.1.x and as string under cff-version 1.2.x and 1.3.x, but now using ruamel.yaml's own constructor methods from YAML.SafeConstructor, as opposed to whatever it finds was previously configured as a parser.
This PR changes the way yaml text is parsed. It appears that ruamel.yaml persists some of its configuration, see
343
This PR stores the timestamp parser that is present before we change anything, and restores it afterwards. Additionally it configures the parser to read timestamps as timestamp under cff-version 1.0.x and 1.1.x and as string under cff-version 1.2.x and 1.3.x, but now using ruamel.yaml's own constructor methods from
YAML.SafeConstructor
, as opposed to whatever it finds was previously configured as a parser.