DevToys-app / DevToys

A Swiss Army knife for developers.
https://devtoys.app/
MIT License
26.94k stars 1.45k forks source link

Json formatter changes the datetime to local datetime #573

Closed Meister1977 closed 2 years ago

Meister1977 commented 2 years ago

Description

"Date": "2012-04-21T18:25:43-05:00" will be "Date": "2012-04-22T01:25:43+02:00" here in Hungary.

I think, a formatter tool should not change any content.

image

Steps To Reproduce

No response

Expected behavior

  1. Go to Json formatter

  2. Enter to input: { "Date": "2012-04-21T18:25:43-05:00" }

  3. The output in Hugary (UTC+2): { "Date": "2012-04-22T01:25:43+02:00" }

DevToys Version

1.0.8.0 verzió | X64 | RELEASE | db9b428 | db9b428

Relevant Assets/Logs

No logs for this

veler commented 2 years ago

Hello, Thanks for the feedback. I fixed the issue and opened a pull request for it. :)