facebook / facebook/duckling

Issue in capturing two date fields in a sentence

Open
#691 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
4.3k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

Hi Team,

I am facing issue in extracting two date field using duckling extractor:

curl -XPOST http://.0.0.0.0:8000/parse --date 'locale=en_GB&text=Block dates from today to tomorrow'

The date for today is getting captured correctly as '2022-05-12' but tomorrow is captured as '2022-05-14' (t+1), and the same issue is happening when i try it out with actual dates instead of today or tomorrow (The second extracted entity is always dt+1). Please can you help me with the fix.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.