Skip to content

Is there a way to set the createdAt Date? #445

Answered by MarshalX
stray-tori asked this question in Questions
Discussion options

You must be logged in to vote

copy this and put any created_at what you want

record = models.AppBskyFeedPost.Record(
created_at=self.get_current_time_iso(),
text=text,
reply=reply_to,
embed=embed,
langs=langs,
facets=facets,
)
return self.app.bsky.feed.post.create(repo, record)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@stray-tori
Comment options

Answer selected by stray-tori
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants