Skip to content

Commit

Permalink
Merge pull request #7 from rathlinus/6-bluesky-posts-are-published-at…
Browse files Browse the repository at this point in the history
…-an-incorrect-time

Bluesky posts are published at an incorrect time
  • Loading branch information
rathlinus authored Feb 8, 2024
2 parents 88196de + d8f08a7 commit 363c134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bluesky.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ function handle_delayed_post_action($post_ID) {
'collection' => 'app.bsky.feed.post',
'record' => [
'text' => $post_title,
'createdAt' => current_time('Y-m-d\TH:i:s\Z'),
'createdAt' => gmdate('Y-m-d\TH:i:s\Z'),
'embed' => $embed_card,
],
]),
Expand Down

0 comments on commit 363c134

Please sign in to comment.