@шЫкель-грубый said in How can I backdate topics and posts (for migration purposes)?:
I'll also try to comment date changing in sources. I'm not familiar with JS but it looks obviously enough.
Yes, this is probably the most direct solution. It'll get your script working with the correct timestamps, all you have to do is comment out that line in the file, and restart NodeBB.