Ghost/ghost/admin/app/components/editor
Simon Backx 07cb542b97
Improved timezone support date picker and improved tests (#15545)
fixes https://github.com/TryGhost/Team/issues/1946

Problem:
- When running the admin tests in a timezone that is later than UTC, the tests failed.

Causes:
- Some tests needed some adjustements
- The DateTimePicker did not always use the correct timezone.
- Test models createdAt times sometimes depended on the timezone of the test runner

Solution:
- All the input DateTimePicker gets should be processed in the blog's timezone.
- Make sure that all communication (properties, setters, minDate...) with `PowerDatepicker` happens in the local timezone. When setting, convert that date to the blog timezone and use that as the real value.
2022-10-07 12:20:06 +02:00
..
modals 🎨 Improved email failure handling and retrying (#15504) 2022-10-06 11:12:11 +02:00
publish-options Improved timezone support date picker and improved tests (#15545) 2022-10-07 12:20:06 +02:00
publish-buttons.hbs 🎨 Improved email failure handling and retrying (#15504) 2022-10-06 11:12:11 +02:00
publish-management.hbs 🎨 Improved save/update button copy in editor (#2413) 2022-06-01 13:48:33 +01:00
publish-management.js Increased publish flow acceptance tests 2022-05-31 22:59:20 +01:00