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

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

Open
cymerman opened this issue Mar 12, 2025 · 0 comments

Comments

@cymerman
Copy link

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

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