facebook / facebook/duckling

Returns wrong time if the number of minutes is less than 10

Open
#754 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

I noticed an issue. When I send text like "1 10 am", I receive correct time of 2025-08-08T01:10:00.000-07:00

If I send text like "1 5 am" or "one five am", I receive wrong time of 2025-08-08T05:00:00.000-07:00. This issue persists when the number of minutes is less than 10. (It works correctly if the text is like "01:05 am")

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.