Passing strings that look like dates from orquestator to activity changes the time zone #249
Labels
bug
Something isn't working
Needs: Investigation 🔍
A deeper investigation needs to be done by the project maintainers.
P2
Priority 2 item
Milestone
Describe the bug
I have an orchestator that sends an object to an activity that includes strings that look like dates, from localhost (-05:00) if I send a date like '2021-03-15T16:00:00-07:00' it gets changed to '2021-03-15T18:00:00-05:00'.
Investigative information
If deployed to Azure App Service
To Reproduce
Steps to reproduce the behavior:
Create an orchestator and an activity
Orchestator
Activity:
Check the output in the log, the string changes to the time zone of your machine on localhost and to UTC in the server.
Expected behavior
An output log like this:
@davidmrdavid Here is the issue, hope it helps.
For now I am using JSON.stringfy() on the orchestator and JSON.parse on the activity to mitigate the problem.
Thanks.
The text was updated successfully, but these errors were encountered: