# IFTTT Do Button time bug

**URL:** <https://forum.beeminder.com/t/ifttt-do-button-time-bug/1992>\
**Category:** Bugabee\
**Created:** [March 4, 2016, 1:22pm UTC](https://forum.beeminder.com/t/ifttt-do-button-time-bug/1992 "2016-03-04T13:22:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dave42w](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/dave42w/32/1020_2.png) [@dave42w](https://forum.beeminder.com/u/dave42w)\
**Post date:** [March 4, 2016, 1:22pm UTC](https://forum.beeminder.com/t/ifttt-do-button-time-bug/1992/1 "2016-03-04T13:22:11Z")

</div>

I’ve setup a coffee monitor using the Do button.

I’ve seen before that there were bugs with the timestamp. I think there are still some problems which may be associated with timezone. I have pressed it 4 times for coffee today between 8am and 1:15pm but the data reads:

2016-03-04 1.0 Another Cup O’ Joe! March 04, 2016 at 03:17AM [http://ift.tt/1Tv9oto](http://ift.tt/1Tv9oto) (Via DO Button)  
2016-03-04 1.0 Another Cup O’ Joe! March 04, 2016 at 12:30AM [http://ift.tt/1Qx4yFN](http://ift.tt/1Qx4yFN) (Via DO Button)  
2016-03-04 1.0 Another Cup O’ Joe! March 03, 2016 at 11:35PM [http://ift.tt/1QQExR9](http://ift.tt/1QQExR9) (Via DO Button)   
2016-03-04 1.0 Another Cup O’ Joe! March 03, 2016 at 02:37PM [http://ift.tt/1UD1Io2](http://ift.tt/1UD1Io2) (Via DO Button)

---

<div class="post-metadata">

**Author:** ![philip](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/philip/32/1505_2.png) [@philip](https://forum.beeminder.com/u/philip)\
**Post date:** [March 4, 2016, 4:16pm UTC](https://forum.beeminder.com/t/ifttt-do-button-time-bug/1992/2 "2016-03-04T16:16:19Z")

</div>

Is the discrepancy explained by a combination of these?

- a delay in processing by IFTTT
- displaying as the wrong timezone

---

<div class="post-metadata">

**Author:** ![dave42w](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/dave42w/32/1020_2.png) [@dave42w](https://forum.beeminder.com/u/dave42w)\
**Post date:** [March 4, 2016, 9:55pm UTC](https://forum.beeminder.com/t/ifttt-do-button-time-bug/1992/3 "2016-03-04T21:55:30Z")

</div>

I don’t think the delay is in processing. I think it is timezone with a weird wrapover.

I just hit Do button at 21:43 and it was in Beeminder immediately after I hit refresh graph but with the time as 11:43am

So that is 10 hours difference (I am on GMT). That makes sense for all the drinks I have hit the button for since 10am (eg one in Beeminder at 12:30am (or 00:30 in 24 hour clock) is my 10:30am cup of coffee).

The ones that are more confusing are the ones before 10am my time which I think are showing up as 2.37pm and 11.35pm (I think these were between 8am and 9am my time).

---

<div class="post-metadata">

**Author:** ![bee](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/bee/32/41_2.png) [@bee](https://forum.beeminder.com/u/bee)\
**Post date:** [March 5, 2016, 6:31am UTC](https://forum.beeminder.com/t/ifttt-do-button-time-bug/1992/4 "2016-03-05T06:31:32Z")

</div>

That timestamp in the comment is coming from IFTTT themselves, right? So it looks like the Do app is reporting times in Pacific Time, not relative to the user’s location. But the datapoints are getting assigned to the correct day for you, right? Our Add Data trigger doesn’t use any info from the trigger to assign the date – it just uses the current timestamp at the time the recipe runs – so I’d expect that while the timestamp is confusing, the dates of the datapoints should be correct, no?

- and actually broken if you wanted to use the time as an ingredient in the trigger, like for the value, or something else non-beeminder related…

---

<div class="post-metadata">

**Author:** ![dave42w](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/dave42w/32/1020_2.png) [@dave42w](https://forum.beeminder.com/u/dave42w)\
**Post date:** [March 5, 2016, 8:38am UTC](https://forum.beeminder.com/t/ifttt-do-button-time-bug/1992/5 "2016-03-05T08:38:17Z")

</div>

Ah that makes sense now, thanks.  
I couldn’t work out why the date was always right even when the time seemed to have wrapped around to the previous day.  
I can live with this as Beeminder gives the correct day, as you say the time is not critical (just handy as a check whether I did record a cup of coffee when in a meeting).  
I’ll report to Ifttt though.
