Skip to content

Platform-Specific Parsing Behavior -> DateTime - always different results on AWS Elastic beanstalk (Amazon Linux) vs locally macos #3195

@cymerman

Description

@cymerman

Platform-Specific Parsing Behavior -> DateTime - always different results on AWS Elastic beanstalk (Amazon Linux) vs locally macos (.net 8 c#)

To Reproduce
Steps to reproduce the behavior:

  1.     var dateTimeParser = DateTimeRecognizer.RecognizeDateTime(
         EnglishVersionMessage,
         Culture.English,
         DateTimeOptions.None,
         currentLocalDateTime);
    

with text " In 20 minutes for a massage?"
2. On Macos will properly add 20 minutes to refer time - so for example if currentLocalDateTime is 17:20 result will be 17:40
3. On Amazon will be always 00:20

tzdata is installed on amazon. currentLocalDateTime is proper base on timezone.
Seems to be OS problem related, but i dont have idea what

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