Skip to content

Time-Parsing in vcard/vcal #10

@andi-at

Description

@andi-at

Keep getting erros parsing some time values - seems that there are some different time formats.
Praser.cs ParseDate():
I´ve added a else if for length=15, fixing my problem:

else if (input.Length == 15)
{
input = input.Insert(4, "-");
input = input.Insert(7, "-");
input = input.Insert(13, ":");
input = input.Insert(16, ":");
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions