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:
-
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