Ghost/ghost/admin/mirage/factories
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
..
api-key.js Dropped ember-cli-moment-shim dependency 2022-09-24 13:28:23 +02:00
email.js
integration.js Dropped ember-cli-moment-shim dependency 2022-09-24 13:28:23 +02:00
invite.js Dropped ember-cli-moment-shim dependency 2022-09-24 13:28:23 +02:00
label.js Improved timezone support date picker and improved tests (#15545) 2022-10-07 12:20:06 +02:00
member-activity-event.js Dropped ember-cli-moment-shim dependency 2022-09-24 13:28:23 +02:00
member.js Improved timezone support date picker and improved tests (#15545) 2022-10-07 12:20:06 +02:00
notification.js
offer.js Dropped ember-cli-moment-shim dependency 2022-09-24 13:28:23 +02:00
post.js
role.js
subscription.js Added canceled subscriptions in member detail screen (#2287) 2022-03-18 16:15:42 +00:00
tag.js
tier.js Updated usage of the Tiers API (#2388) 2022-05-16 19:51:49 +01:00
user.js
webhook.js Dropped ember-cli-moment-shim dependency 2022-09-24 13:28:23 +02:00