Hi,
I’m trying to figure out how to pass a date range into a url parameter and read that date range back from a url parameter. Bubble docs say this is possible:
That screenshot is from here (you have to scroll down about 2/3 of the way):
I have tried all three of these ways below
As you can see, obviously bubble doesn’t allow for a range to be passed in as a parameter but the docs imply that you can.
And this is how I’m evaluating the url params:
Here is how the url params look in the url:
No surprise that dr2 has no value but dr1 formats as the bubble docs above say it will and dr3 appears as anticipated.
Here is how the text element I screenshotted above evaluates in preview:
The only one that actually evaluates to a set of dates are the unix dates but they evaluate to epoch time (Jan 1, 1970 12:00 am UTC. I am 5 hours behind UTC which is why it shows up as 5 hours before epoch time).
Any thoughts here? Any help would be much appreciated.