Date calculations not working

Hello, it looks like selecting a date and subtracting the current date/time pulls a blank. Currently I’m using a state with a date, which alone produces a result, but as soon as I subtract current date/time (and format as count of days), the result is nothing.

To add to this, it looks like the entire text is wiped out if the calculation is inside that text component.

@nick.carroll it looks like trying to extract parts of the date (minute, day) also is causing this issue where the entire component gets deleted from view

@nick.carroll including a date in an email is not throwing an error, but the email is going through. Can you please take a look into these date issues?

Are you seeing this on web too, or just mobile?

I have not tested on web, just mobile

Oh great! I submitted a bug report about this too - having the same problem. On BubbleGo, not Web Preview

It was working a few days ago, but overnight stopped

Bug Ticket ID: #250694

I seem to be having a bit of a similar issue, also on BubbleGo while it works on Web Preview

In web preview, I can get the following to appear using two different text boxes:

Box 1: Jan, Feb, Mar, Apr
Box 2: 0, 0, 1907, 2137

In web preview, this works fine. When I open BubbleGo, on both Android and on my iPad, Box 2 is completely collapsed and shows no value, even if I include static text in box 2 before my calculated text.

Both box 1 and box 2 use calculated dates similar to what @dreadnaught73849 mentioned (I think):

The difference for me between these two seems to be what is done with the data after it’s grouped:

Box 1:
box1

Box 2:
box2

Box 2 adds a “sum” function while Box 1 doesn’t have that.

Thoughts? Same issue?

I think anything with date calculations is related

My issue is subtracting time then formatting it as and doing math on that

I’m experiencing the same bug in bubble Go on iOS : anything that involves date calculation is not working

@nick.carroll any ideas?

Looking into it. Thanks for filing a bug report @johnny

This is fixed in the newest version of BubbleGo, which should be going out soon (needs to go through the review process)

4 Likes

Awesome, does that mean it’ll also be fixed on our apps too?

Looks like this is fixed in BubbleGo now, but not in my app — looks like this also fixed a related issue I was having: API responses not appearing on BubbleGo

I can confirm it’s working as well in BubbleGo. Thank you for the efforts @nick.carroll !

Pushing a OTA fixed it for my app

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