bigbite / wp-cypress

WordPress end to end testing with Cypress.io.
MIT License
88 stars 20 forks source link

PHP time is using UTC when inserting comments/post rather than local time #28

Closed con322 closed 4 years ago

con322 commented 4 years ago

Describe the bug When seeding the database with either comments or posts the timestamp is UTC and not local time which causes an issue when checking the time within integration tests.

Maybe we could make use of the current_time WordPress function within the Date trait.