Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why DateTime parser doesn't support fraction of the seconds? #104

Closed
jakubsuchybio opened this issue Jun 8, 2018 · 1 comment · Fixed by #118
Closed

Why DateTime parser doesn't support fraction of the seconds? #104

jakubsuchybio opened this issue Jun 8, 2018 · 1 comment · Fixed by #118

Comments

@jakubsuchybio
Copy link
Contributor

Hi,
why is it, that the TSComponentOne which formats DateTime into string and back, can't parse it's own format LongDateTimeFormatWithFactionOfSecond ?
In this line:
https://github.com/duaneedwards/nHapi/blob/0ea5a3f9e1a864713bc41568aefcd1201dc14644/NHapi20/NHapi.Base/Model/Primitive/TSComponentOne.cs#L282

the LongDateTimeFormatWithFactionOfSecond is missing in supported formats for exact parsing.
Thanks.

@Usualdosage
Copy link
Collaborator

I saw that you tried to add that with PR #102 . Please create a separate PR for this issue and I will review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants