Ghost/ghost/admin/mirage
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
..
config Fixed mirage members route permissions checks 2022-10-03 14:59:16 +01:00
factories Improved timezone support date picker and improved tests (#15545) 2022-10-07 12:20:06 +02:00
fixtures Dropped ember-cli-moment-shim dependency 2022-09-24 13:28:23 +02:00
models Removed unneeded member.emailRecipients relationship setup 2022-05-25 11:18:37 +01:00
scenarios Updated newsletter management for switch to nullable sender_name 2022-04-15 09:43:22 +01:00
serializers Updated usage of the Tiers API (#2388) 2022-05-16 19:51:49 +01:00
.eslintrc.js Update dependency eslint to v7 (#1566) 2020-05-17 22:53:37 +01:00
config.js Fixed "The routes only function has been deprecated" output in test runs 2022-05-25 11:03:05 +01:00
routes-dev.js Fixed "The routes only function has been deprecated" output in test runs 2022-05-25 11:03:05 +01:00
routes-test.js Refactored delete all content modal 2022-09-08 09:18:46 +01:00
utils.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00