Automattic / newspack-custom-content-migrator

Custom migration tasks for launching and migrating Newspack sites on Atomic
5 stars 5 forks source link

Add a command to fix posts imported with wrong timezone #457

Closed naxoc closed 7 months ago

naxoc commented 7 months ago

How to test

Run like this for example: wp newspack-content-migrator change-posts-timezone --from-timezone=UTC --target-timezone='America/Chicago' --num-items=500


naxoc commented 7 months ago

Thanks for the feedback @iuravic . Good points! I've pushed those things, so it's ready for re-review.

naxoc commented 7 months ago

Oh, just saw you didn't need a second look. Merging! Sorry 😆