# Build schedule has changed on DST transition

**URL:** <https://discuss.bitrise.io/t/build-schedule-has-changed-on-dst-transition/8618>\
**Category:** Builds\
**Created:** [April 1, 2019, 10:05am UTC](https://discuss.bitrise.io/t/build-schedule-has-changed-on-dst-transition/8618 "2019-04-01T10:05:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![koral](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/koral/32/357_2.png) [@koral](https://discuss.bitrise.io/u/koral)\
**Post date:** [April 1, 2019, 10:05am UTC](https://discuss.bitrise.io/t/build-schedule-has-changed-on-dst-transition/8618/1 "2019-04-01T10:05:29Z")

</div>

# Bitrise Build Issue Report template

## Description of the issue

It seems that scheduled builds are triggered one hour after expected time.

## Environment:

**Where did the issue happen?**

On [Bitrise.io](http://Bitrise.io): Android stack

**Which build Step causes the issue and which version of the step?**

N/A

- _Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build)_ : N/A
- _Does a rebuild without caches help? (You can remove the `Cache:Pull` and `Cache:Push` steps temporarily to not to use the cache, or [you can delete all the caches on the `Settings` tab of the app](http://devcenter.bitrise.io/caching/about-caching/#downloading-and-deleting-caches)._ : N/A
- _Does the issue happen sporadically, or every time?_ : Every time
- _Does upgrading the build Step to the latest version help?_ : N/A
- _When did the issue start?_ : probably 31.03.2019 02:00 GMT+1

### Local reproduction

_Can it be reproduced on your own Mac/PC by following our [local debug guide](http://discuss.bitrise.io/t/how-to-debug-your-build-locally-it-works-on-my-mac-pc-but-not-on-bitrise-io/392)? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what [bitrise.io](http://bitrise.io) will get when it does a git clone in the clean environment! If possible please note which sections you tried._

N/A

## Build log

Last build on proper hour: [https://app.bitrise.io/build/a308cdfba30ffd36](https://app.bitrise.io/build/a308cdfba30ffd36) (failed but it is irrelevant to this issue).

First postponed trigger: [https://app.bitrise.io/build/08cb1de648b927f4](https://app.bitrise.io/build/08cb1de648b927f4)

---

<div class="post-metadata">

**Author:** ![fehersanyi-bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/fehersanyi-bitrise/32/1912_2.png) [@fehersanyi-bitrise](https://discuss.bitrise.io/u/fehersanyi-bitrise)\
**Post date:** [April 1, 2019, 10:22am UTC](https://discuss.bitrise.io/t/build-schedule-has-changed-on-dst-transition/8618/2 "2019-04-01T10:22:55Z")

</div>

Hy @koral  
Thanks for reporting it, I created a card for the webteam to handle it, I hope they can do something about it today!!

---

<div class="post-metadata">

**Author:** ![koral](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/koral/32/357_2.png) [@koral](https://discuss.bitrise.io/u/koral)\
**Post date:** [April 13, 2019, 1:53pm UTC](https://discuss.bitrise.io/t/build-schedule-has-changed-on-dst-transition/8618/3 "2019-04-13T13:53:54Z")

</div>

Is there any update?

---

<div class="post-metadata">

**Author:** ![fehersanyi-bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/fehersanyi-bitrise/32/1912_2.png) [@fehersanyi-bitrise](https://discuss.bitrise.io/u/fehersanyi-bitrise)\
**Post date:** [April 15, 2019, 7:49am UTC](https://discuss.bitrise.io/t/build-schedule-has-changed-on-dst-transition/8618/4 "2019-04-15T07:49:03Z")

</div>

Hy Koral, sorry for not getting back, we checked out the issue, and it seems to be a one time bug 🤔 my older setups work fine and a new set up worked as it should as well. so there was no card created at the end.

---

<div class="post-metadata">

**Author:** ![koral](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/koral/32/357_2.png) [@koral](https://discuss.bitrise.io/u/koral)\
**Post date:** [April 15, 2019, 10:23am UTC](https://discuss.bitrise.io/t/build-schedule-has-changed-on-dst-transition/8618/5 "2019-04-15T10:23:34Z")

</div>

If I understand correctly what is happening and you didn’t fix anything then issue will reappear on next DST transition (in October in Europe). You need to have timezone which observes DST set at the time of setup and do the check after transition to or from DST to reproduce this issue.

For example, that linked app was set up when there was no DST, after transition to DST build schedule time has changed.

---

<div class="post-metadata">

**Author:** ![fehersanyi-bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/fehersanyi-bitrise/32/1912_2.png) [@fehersanyi-bitrise](https://discuss.bitrise.io/u/fehersanyi-bitrise)\
**Post date:** [April 15, 2019, 11:12am UTC](https://discuss.bitrise.io/t/build-schedule-has-changed-on-dst-transition/8618/6 "2019-04-15T11:12:08Z")

</div>

Hy Koral, so we realised in the mean time, that in the US the time change is several weeks after then in Europe, and that is why this issue is an issue, I updated the card and set a higher prio so it will be fixed before winter 🙃

---

<div class="post-metadata">

**Author:** ![koral](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/koral/32/357_2.png) [@koral](https://discuss.bitrise.io/u/koral)\
**Post date:** [April 15, 2019, 5:39pm UTC](https://discuss.bitrise.io/t/build-schedule-has-changed-on-dst-transition/8618/7 "2019-04-15T17:39:50Z")

</div>

I don’t know what is the logic behind that, so I may be wrong.  
From the observed effects I guess that build trigger uses UTC under the hood and only when hours and minutes need to be displayed on the web UI they are converted to local times using timezone provided by the browser.  
So in my case: I scheduled my trigger few months ago to 05:00 (AM) (in Europe/Warsaw timezone, which was GMT+1 then), now it is 06:00 (because currently there is a DST and offset changed to GMT+2). If I change my timezone to Asia/Tokyo it will be 13:00.  
They all represent the same moment in time. However, I expect that build will be always triggered at the same hour in local time in timezone of which it was scheduled.

---

<div class="post-metadata">

**Author:** ![fehersanyi-bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/fehersanyi-bitrise/32/1912_2.png) [@fehersanyi-bitrise](https://discuss.bitrise.io/u/fehersanyi-bitrise)\
**Post date:** [April 16, 2019, 8:05am UTC](https://discuss.bitrise.io/t/build-schedule-has-changed-on-dst-transition/8618/8 "2019-04-16T08:05:15Z")

</div>

Uh we will definitely investigate this.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [May 16, 2019, 8:05am UTC](https://discuss.bitrise.io/t/build-schedule-has-changed-on-dst-transition/8618/9 "2019-05-16T08:05:18Z")

</div>

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