Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

joedixon's avatar

Rogue timestamps on queue jobs

Hello lovely Laravel people. Hope you are all well.

I have run into a really weird issue whereby I am creating a new record using eloquent during a queued job. Unfortuantely, on the production server, the created_at field is being set 1 hour later than the current time.

  • I am in the UK, but the timezone of my app is UTC.
  • The same thing happens using both the database and sync drivers
  • It's a forge server. The server time using date is BST, but the same thing happens if I change it to UTC
  • It works fine in development (homestead) and staging (also forge)
  • It only happens during queue jobs

It is almost as though it is creating the record using BST instead of UTC, but I can't figure out where this change is happening.

Does anyone have any other suggestions?

Thanks, Joe

0 likes
0 replies

Please or to participate in this conversation.