# Timezone not taken into account on expiration

**URL:** <https://forum.builder.io/t/timezone-not-taken-into-account-on-expiration/7844>\
**Category:** Bugs\
**Tags:** visual-editor, react\
**Created:** [January 29, 2025, 10:24am UTC](https://forum.builder.io/t/timezone-not-taken-into-account-on-expiration/7844 "2025-01-29T10:24:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![OP-J](https://avatars.discourse-cdn.com/v4/letter/o/d07c76/32.png) [@OP-J](https://forum.builder.io/u/OP-J)\
**Post date:** [January 29, 2025, 10:24am UTC](https://forum.builder.io/t/timezone-not-taken-into-account-on-expiration/7844/1 "2025-01-29T10:24:00Z")

</div>

**Detailed steps to reproduce the bug**  
Schedule some content to expire in a couple of minutes and change the timezone from the timezone picker.

Notice that the content is still published after expiration. I presume it will expire at the default timezone (NY in my case) instead of what was selected in the picker

**Screenshots or video link**

**Code stack you are integrating Builder with**  
NextJS

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [January 29, 2025, 3:58pm UTC](https://forum.builder.io/t/timezone-not-taken-into-account-on-expiration/7844/2 "2025-01-29T15:58:03Z")

</div>

Hi @OP-J,

Just to confirm, is this the issue you’re experiencing?

- The scheduled content expiration is approaching.
- You changed the timezone, which adjusted the expiration time.
- Now, the content no longer expires at the original time.
- Does the content still expire correctly based on the new timezone?

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [February 3, 2025, 9:27am UTC](https://forum.builder.io/t/timezone-not-taken-into-account-on-expiration/7844/3 "2025-02-03T09:27:38Z")

</div>

Just to confirm, are you experiencing the following issue?

- The scheduled content expiration is approaching.
- You changed the timezone, which adjusted the expiration time.
- As a result, the content no longer expires at the originally set time.
- Does the content now expire correctly based on the updated timezone?

Could you please provide answers to these questions? This will help us better understand the issue and assist you accordingly.

Looking forward to your response!

Thanks,

---

<div class="post-metadata">

**Author:** ![OP-J](https://avatars.discourse-cdn.com/v4/letter/o/d07c76/32.png) [@OP-J](https://forum.builder.io/u/OP-J)\
**Post date:** [February 4, 2025, 7:56pm UTC](https://forum.builder.io/t/timezone-not-taken-into-account-on-expiration/7844/4 "2025-02-04T19:56:42Z")

</div>

Tested a bit more.  
It seems like the picker isn’t actually using the selected timezone.  
Instead it’s using my current timezone.

For example I am in Romania 21:00  
and want to schedule something for New York at 16:00.  
On publish it shows up as expired.  
It seems that it’s picking up 16:00 as being Romania time instead of New York

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [February 5, 2025, 12:40pm UTC](https://forum.builder.io/t/timezone-not-taken-into-account-on-expiration/7844/5 "2025-02-05T12:40:08Z")

</div>

Hello @OP-J,

We appreciate you sharing the reproducible steps—it’s really helpful.

We are currently investigating the issue and attempting to reproduce it on our end. We’ll keep you updated as soon as we make any progress.

In the meantime, if you have any additional details that might assist us, please let us know.

Best regards,

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [February 7, 2025, 3:45pm UTC](https://forum.builder.io/t/timezone-not-taken-into-account-on-expiration/7844/6 "2025-02-07T15:45:20Z")

</div>

Hi @OP-J,

Just to confirm, are you encountering the issue when setting only the end date without a start date? We tried reproducing the issue by setting both start and end dates but didn’t face any problems.

Could you verify if the same behavior occurs on your end?

Looking forward to your response.

Best regards,
