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

fix: YDWG date parse error #47

Merged
merged 2 commits into from
Mar 4, 2019
Merged

fix: YDWG date parse error #47

merged 2 commits into from
Mar 4, 2019

Conversation

jncarter123
Copy link
Contributor

parseDate function with the arguments list corresponding to a new v2.0.0 date-fns version, while dependencies section of a package.json requires an old v1.30.1 version
updated the package dependencies and updated the ydwg parse to use toISOString

Closes #46

Verified

This commit was signed with the committer’s verified signature. The key has expired and has been revoked.
AkinoKaede 秋野かえで
parseDate function with the arguments list corresponding to a new v2.0.0 date-fns version, while dependencies section of a package.json requires an old v1.30.1 version
updated the package dependencies and updated the ydwg parse to use toISOString

Closes #46
@sbender9
Copy link
Member

sbender9 commented Mar 4, 2019

The code has toString instead of toISOString. Is that intentional?

Verified

This commit was signed with the committer’s verified signature. The key has expired and has been revoked.
AkinoKaede 秋野かえで
should be toISOString not toString

Closes #46
@jncarter123
Copy link
Contributor Author

It was not intentional. It has been fixed. Thanks!

@sbender9 sbender9 merged commit 4d5a9cb into canboat:master Mar 4, 2019
@jncarter123 jncarter123 deleted the fix-date-parse branch March 4, 2019 14:37
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 this pull request may close these issues.

None yet

2 participants