Azure / logicapps

Azure Logic Apps labs, samples, and tools
MIT License
348 stars 291 forks source link

string value in this format "2024-03-15T10:00:00.000Z" getting changed to "2024-03-15T10:00:00Z" in logic app standard after saving it #1028

Closed swakMS closed 3 weeks ago

swakMS commented 2 months ago

Describe the Bug with repro steps

In logic app standard at any action provide the string value "2024-03-15T10:00:00.000Z", and save.

now go to code view or designer and look for this value- it would have changed to "2024-03-15T10:00:00Z". tried in standard new and old designer.

its not happening in consumption.

What type of Logic App Is this happening in?

Standard (Portal)

Are you using new designer or old designer

New Designer

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

No response

Screenshots or Videos

image

here customer trying to add the value at headers by hardcoding.

Browser

chrome

Additional context

No response

AB#27558701

hartra344 commented 2 months ago

Looks like this is happening in the backend, not the designer. I can repro as well. Reached out to our backend folks and they're going to investigate, they think it may be due to the JSON serialization/deserialization, moving to the backend repo for now to track though.

edwardyhe commented 2 months ago

Hi @swakMS , I can confirm this is related to JSON serialization/deserialization differences. However, is there a particular reason that the .000 is required? It is not needed based on ISO 8601, and APIs should not require them.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 45 days with no activity.

github-actions[bot] commented 3 weeks ago

This issue was closed because it has been inactive for 14 days since being marked as stale.