facebook / facebook/duckling

next two weeks/nächsten zwei wochen work different then expected

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

Description

If I say I say: "In the next two weeks", I mean two weeks from now, duckling, however, interpretes this as two weeks from next Monday.

The same bug applies to last two weeks/letzten beiden wochen

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the English and German phrases described in the issue and trace the date rules that handle “next two weeks” and “last two weeks.” Done means both phrases are interpreted relative to the current date rather than the following Monday, with regression coverage for both languages.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.