Calendar shows the full year


You might have seen that I’ve asked a couple questions before (I’ll link them at the bottom) and I’ve encountered another issue I can’t figure out. I’m trying to make it so the calendar now displays the full, current year. So, for right now, the first block would be 1/1/24 and the last block would be 12/31/24, then it would only change with the new year.

I used a tutorial I found online and this was the code it gave me. I am not sure what or how to change it to make it work the way I want.

Github heatmap graph - Need help - Bubble Forum

Multiple repeating groups for full year calendar - Need help - Bubble Forum

I’m so close, anyone help? lol

The Expression looks to be Python, which won’t exactly work in Bubble.

There are 2 plugins I use for date generation, but this one has the most options

I used it create a calendar display like this

It’s just a Repeating Group with 6 rows and 7 columns, which have a group that change color based on what’s selected and a text field to display the date in that group.

The Type of the Repeating Group is just Date, and the source is the plugin’s output. So it’s just pulling whatever dates the plugin generates.

I just threw something together to show a years worth of dates

The Time Logic

The Repeating Group Logic

There are several different date generator plugins, and I’m sure there’s other ways of generating dates but that’s the gist of it.

Now from there, if you want to pull data, then your group inside the Repeating Group would be the Type of whatever data, with the search constraint being Date=ThisGroup’s Date.