Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR - DateTime] Recognize year number #3180

Open
quangngoc opened this issue Nov 15, 2024 · 0 comments
Open

[FR - DateTime] Recognize year number #3180

quangngoc opened this issue Nov 15, 2024 · 0 comments

Comments

@quangngoc
Copy link

quangngoc commented Nov 15, 2024

Describe the bug
In French, it's common to use "mil" instead of "mille" to denote years in official documents. For instance, "deux juillet deux mil vingt deux" should be interpreted as July 2, 2022. However, this is not recognized correctly

To Reproduce
Steps to reproduce the behavior:

  1. Try DateTimeRecognizer.RecognizeDateTime("deux juillet deux mil vingt deux", "fr-fr")
  2. Only "deux juillet" is recognized

Expected behavior
It should return 2022-07-02

Platform (please complete the following information):

  • Platform: .NET
  • Environment: nuget package
  • Version of package: v1.8.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant