Skip to content

Broken roundtrip in case of year<1000 #108

@notEvil

Description

@notEvil

Hi,

if the year of a date is <1000 then the resulting invoice is invalid because %Y doesn't add 0 padding on all platforms, %4Y does.

node.text = self._value.strftime("%Y%m%d")

Those dates are obviously wrong, however we do adjust invoices only in certain places and would like to keep the rest as it was.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions