Skip to content

ValueToDateTime has a problem with the date separator #30

@flowCRANE

Description

@flowCRANE

If the date is for example 04-10-2020, and the system has the date separator set as / (so the attribute value is 04/10/2020), the TTSInfoDataConverter.ValueToDateTime method will not be able to correctly convert the string and will return the default value (from ADefault parameter).

This causes that loading the tree and saving it again will fuck up all dates in the whole tree (they will all be reset to the default values given in the TSimpleTSInfoTree.ReadDateTime method calls). The problem is very serious.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions