Skip to content

Commit

Permalink
parse: replace <blockquote> with equivalent Markdown syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchambers committed Mar 9, 2019
1 parent 1e59c7c commit c0d68f1
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4282,15 +4282,11 @@
//. inputs! [MDN][date parsing] warns against using the `Date` constructor
//. to parse date strings:
//.
//. <blockquote cite="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date">
//. <p>
//. <b>Note:</b> parsing of date strings with the <code>Date</code>
//. constructor […] is 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.
//. </p>
//. </blockquote>
//. > __Note:__ parsing of date strings with the `Date` constructor \[…] is
//. > 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.
//.
//. ```javascript
//. > S.parseDate ('2011-01-19T17:40:00Z')
Expand Down

0 comments on commit c0d68f1

Please sign in to comment.