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

parse: document inconsistencies of S.parseDate #600

Merged
merged 1 commit into from
Mar 9, 2019

Conversation

davidchambers
Copy link
Member

Closes #488

I used <blockquote> rather than the equivalent Markdown syntax, because lines beginning with > are treated as doctest input. Ideally, only lines beginning with > within ```javascript code blocks would be evaluated, but doctest doesn't support this use case.

index.js Show resolved Hide resolved
@Bradcomp
Copy link
Member

:bowtie:

@davidchambers
Copy link
Member Author

I'll update this pull request once davidchambers/doctest#110 has been merged and released. :)

//. > strongly discouraged due to browser differences and inconsistencies.
//. > Support for RFC 2822 format strings is by convention only. Support for
//. > ISO 8601 formats differs in that date-only strings (e.g. "1970-01-01")
//. > are treated as UTC, not local.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks to davidchambers/doctest#110, sanctuary-js/sanctuary-scripts#20, and #607 we are now able to use Markdown syntax for this block quotation. Quite the diversion!

As explained in remarkjs/remark-lint#207, it is necessary to use \[…] rather than simply […] to avoid triggering a no-undefined-references error.

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