Skip to content

[FR - DateTime] Recognize year number #3180

Open

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions