question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

emdash use in dates

See original GitHub issue

When I’m trying to parse the date from the example with

console.log(nlp('Finally, I just stopped caring. Luckily for me, it was 1980 and no one noticed.').dates().data())

I don’t get any results, just an empty array.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
paulbrunocommented, Oct 3, 2017

@spencermountain Absolutely! Thanks so much for this piece of JS, man. Very new to even attempting to be anything more than a consumer in the open-source ecosystem, but would love to rise to becoming a contributor, if you/the gang still in need of some additional help.

1reaction
spencermountaincommented, Mar 28, 2017

yeah cities should work under places. looked at the example. is getting fussed by the non-standard character. will check it out

Read more comments on GitHub >

github_iconTop Results From Across the Web

En Dash: When Should I Use It? - Grammarly
An en dash is a midsize dash (longer than a hyphen but shorter than an em dash) that is mostly used to show...
Read more >
Use an En-dash to Mark a Range of Things Like Dates and ...
1066–1215, or to tie words together that mark a span of time, such as Monday–Friday.
Read more >
En dashes - Microsoft Style Guide
Instructs to use en dashes to indicate a range of numbers, such as inclusive values, dates, or pages.
Read more >
What is en dash, and how to use it? Rules and Examples
When writing out the date, we can use either a slash, a dot, or a hyphen. An example using hyphens is 2000-12-25. As...
Read more >
Dashes and Hyphens between Dates - Grammar Monster
True or false? You can use an en dash between two dates to show a range. ... True or false? An en dash...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found