Closed alexandraRamanenka closed 7 months ago
https://formio.atlassian.net/browse/FIO-7631
We don't want to use formatOffset function if time is not enabled cause it will add timezone to the dates that have only day/month/year
Use this section to describe any potentially breaking changes this PR introduces or any effects this PR might have on backwards compatibility
Use this section to list any dependent changes/PRs in other Form.io modules
Manually, I also was trying to add automated tests, but because zonesPromise never resolves in the test mode, my test will always pass
Link to Jira Ticket
https://formio.atlassian.net/browse/FIO-7631
Description
We don't want to use formatOffset function if time is not enabled cause it will add timezone to the dates that have only day/month/year
Breaking Changes / Backwards Compatibility
Use this section to describe any potentially breaking changes this PR introduces or any effects this PR might have on backwards compatibility
Dependencies
Use this section to list any dependent changes/PRs in other Form.io modules
How has this PR been tested?
Manually, I also was trying to add automated tests, but because zonesPromise never resolves in the test mode, my test will always pass
Checklist: