Repository navigation
Compare content schedule dates against UTC - #1251
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Ready for review. Summary
WhyThis is a small, contained bug fix that matches intake's Scope exactly: two production files with a few changed lines between them, plus three new test files. No serialized format, public API, dependency or packaging changes. I checked that Acceptance criteria
Releasepatch: "Fixed content schedule dates being compared against server local time instead of UTC, which dropped or mis-stated scheduled publish/unpublish dates on servers not running on UTC (#1235)." The approver approved this, but medium-risk jobs are merged by a person. |
Summary
DateTime.Now, so schedules were mishandled on servers not running on UTC.ContentScheduleExtensions.CalculateCultureState(Release and Expire) and the past-schedule skip inContentSerializer.DeserializeSchedulesAsyncnow compare againstDateTime.UtcNow.DateTimeKind.Utc(DateTime.SpecifyKind, no conversion).ToString("s"), no offset), so existing files don't show as changed.Closes #1235
🤖 Generated with Claude Code