Date/Time: XML-RPC: Сalculate the proper offset for GMT in wp.newPost, wp.editComment, mw.newPost, mw.editPost when post_date or comment_date is set.
wp.newPost
wp.editComment
mw.newPost
mw.editPost
post_date
comment_date
Previously, post_date or comment_date was assumed to be GMT, which is only true if the timezone string for the site matches GMT.
Add unit tests.
Props Rarst, smerriman, justdaiv, wonderboymusic, noyle. Fixes #30429.