You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried to use this directive with datetime-model="yyyy-MM-ddTHH:mm:ss.sssZ" but it failed with undefined reference error. Also format of timezone offset is expected without :. According to https://www.ietf.org/rfc/rfc3339.txt there should be : sign. I found that only angular date filter uses format without :.
I will test further possible cases with : sign. In my commit : (? in regex) is optional but there is some checking conversion after which results in a different string than input and throws an exception. I will try to think how to solve it.
Indeed. I thought tokens are somewhat consistent with angular date filter but i've just noticed milliPrefix token. I agree to create a custom token for timezone with : sign. Thanks for your consultation. I will make PR during this week.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tried to use this directive with
datetime-model="yyyy-MM-ddTHH:mm:ss.sssZ"but it failed with undefined reference error. Also format of timezone offset is expected without:. According to https://www.ietf.org/rfc/rfc3339.txt there should be:sign. I found that only angular date filter uses format without:.