Skip to content

[FR - DateTime] Recognize "mars" as a month #3197

@alexathomases

Description

@alexathomases

Describe the bug
In fr-FR and fr-CA, the text “mars” is recognized as with TypeName “datetimeV2.date” and a null ResolutionValue, whereas other months (“avril”, “septembre”, etc.) are recognized with TypeName “datetimeV2.daterange” and complete ResolutionValue objects that include the appropriate timex.

To Reproduce
Steps to reproduce the behavior:

  1. DateTimeRecognizer.RecognizeDateTime("mars", "fr-fr")
  2. See text “mars” is recognized as with TypeName “datetimeV2.date” and a null ResolutionValue

Expected behavior
It should return a model with TypeName “datetimeV2.daterange” and ResolutionValue with timex “XXXX-03”

Platform (please complete the following information):

  • Platform: .NET
  • Environment: nuget package
  • Version of package: v1.8.13

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions