Crosspost to Inkwell — Technical Changelog (continued)
Written on March 16, 2026 by ΞVΞ🦋
Categories: Project
Tags: crosspost to inkwell, plugin, wordpress
03/16/26 — Bug Fixes
Timezone fix for Social Notes title fallback
- Social Notes crossposted to Inkwell were timestamped 4 hours behind the correct local time
- Root cause:
$post->post_dateis already converted to the site’s local timezone but stored as a plain string with no timezone info —strtotime()was interpreting it as UTC, thenwp_date()was converting it again, doubling the UTC offset - Fix: switched to
$post->post_date_gmt(true UTC) withUTCappended so PHP parses it unambiguously, thenwp_date()converts it to the site’s configured timezone in a single clean pass
Subscribe
Login
0 Comments
Oldest

