Skip to content

Failed to return any results for specific hour:minute input #45

@christiantowb

Description

@christiantowb

Hiya there,

We've been using this to parse certain user inputs, and somehow, whenever we got 10:10, the parser will always return empty list / no time returned. The codes below are all in Kotlin:

This request:

val parsedDate = parser.parse("10:10", Date(), hawkingConfiguration, "eng")

Will return empty result / no parsed date.

However, if we put in "20:20" or "tomorrow 10:10", then it will return the correct predicted date.

Would this (the 10:10 corner case) be something that is actually fixable in the library?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions