mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
7a5f15414b
no issue Problem: - the server stores time with second-level precision but we send milliseconds - when scheduling a post we were storing the selected publish-at time in the PublishOptions instance with non-zero milliseconds as the initial date was based on now+5mins - when we were saving after the initial schedule that millisecond-containing time was still being used resulting in a perceived time difference in our client-side and server-side validations indicating that the published_at value should be updated, but when that time was <2 mins in the future the published_at change validation was triggered resulting in errors Solution: - ensure we only set times on PublishOptions with 0 milliseconds - update client-side validations so we only trigger published_at validation when it's dirty Also fixed: - client-side validation errors were not shown on the confirm step due to a missing `.args` |
||
---|---|---|
.. | ||
mixins | ||
base.js | ||
custom-view.js | ||
integration.js | ||
invite-user.js | ||
label.js | ||
member.js | ||
nav-item.js | ||
new-user.js | ||
newsletter.js | ||
offer.js | ||
post.js | ||
reset.js | ||
setting.js | ||
setup.js | ||
signin.js | ||
signup.js | ||
snippet.js | ||
subscriber.js | ||
tag-settings.js | ||
tier-benefit-item.js | ||
tier.js | ||
user.js | ||
webhook.js |