# Timezone correction in app.yml

**URL:** https://meta.discourse.org/t/timezone-correction-in-app-yml/374762
**Category:** Support
**Created:** [July 18, 2025, 8:56am UTC](https://meta.discourse.org/t/timezone-correction-in-app-yml/374762 "2025-07-18T08:56:08Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [July 18, 2025, 8:56am UTC](https://meta.discourse.org/t/timezone-correction-in-app-yml/374762/1 "2025-07-18T08:56:08Z")

</div>

i’ve removed the two custom commands from my app.yml for now

```plaintext
## Any custom commands to run after building
run:
  - exec: echo "Beginning of custom commands"
  ## If you want to set the 'From' email address for your first registration, uncomment and change:
  ## After getting the first signup email, re-comment the line. It only needs to run once.
  #- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'"

  - exec: ln -fs /usr/share/zoneinfo/Europe/London /etc/localtime
  - exec: dpkg-reconfigure --frontend noninteractive tzdata

  - exec: echo "End of custom commands"

```

i never rebuilt with these custom commands present

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [July 18, 2025, 8:57am UTC](https://meta.discourse.org/t/timezone-correction-in-app-yml/374762/2 "2025-07-18T08:57:25Z")

</div>

Hi there, sorry, what is the problem here? Thanks!

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [July 18, 2025, 8:57am UTC](https://meta.discourse.org/t/timezone-correction-in-app-yml/374762/3 "2025-07-18T08:57:56Z")

</div>

i think it’s best not to specify a custom time for the container, it can just run on UTC while the host system runs on BST?

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [July 18, 2025, 1:27pm UTC](https://meta.discourse.org/t/timezone-correction-in-app-yml/374762/4 "2025-07-18T13:27:04Z")

</div>

However, the removal removes the possibility of solving the below problem, with all-day events in @angus ‘s plugin

 ![IMG_0891](https://global.discourse-cdn.com/meta/original/4X/7/2/1/721e641f54d85646cc658a8b7ebf194ab9b17df8.jpeg)

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [July 18, 2025, 3:45pm UTC](https://meta.discourse.org/t/timezone-correction-in-app-yml/374762/5 "2025-07-18T15:45:02Z")

</div>

I don’t know what is the issue here, but for me just same works just fine.

```plaintext
  - exec: ln -fs /usr/share/zoneinfo/Europe/Helsinki /etc/localtime   
  - exec: dpkg-reconfigure --frontend noninteractive tzdata

```

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [August 17, 2025, 3:45pm UTC](https://meta.discourse.org/t/timezone-correction-in-app-yml/374762/6 "2025-08-17T15:45:40Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
