Ghost/ghost/admin/app/utils
Kevin Ansfield 2502639a86 🐛 Fixed timezone related issues when scheduling posts
no issue

- fixed incorrect conversion of time when converting between site tz and utc when setting scheduled hour/minute in publish flow
  - we initially created a UTC `newDate` moment from `publishOptions.scheduledAtUTC` but then used `newDate.tz(siteTimezone).format()` to get the time which was the source of the bug, it was assumed that was a non-destructive action returning a new date but it actually changed the underlying date resulting in the later calculations causing timezone adjustments to be applied twice
  - simplified by not converting to UTC inside the publish-at component as that's already handled inside PublishOptions
- fixed time not resetting to minimum schedule time when set to earlier date than allowed
2022-05-23 22:12:37 +01:00
..
bound-one-way.js
caja-sanitizers.js
copy-text-to-clipboard.js
ctrl-or-cmd.js
currency.js
flatten-grouped-options.js
format-markdown.js
get-scroll-parent.js
ghost-paths.js
isNumber.js
link-component.js
password-generator.js
publish-options.js 🐛 Fixed timezone related issues when scheduling posts 2022-05-23 22:12:37 +01:00
route.js
slug-url.js
window-proxy.js