How to have date value be useable for conditional logic?

Video: Bubbles - Teamwork. On your time.

I have a metabox CPT “events” that has a group field “monthly_events” and a sub-field “event_starting_time_and_date”.


The sub-field is a datetime type that allows the user to select the event’s date and time (no surprises there!). However, the format must be saved as Japanese date style: 10月25日 which I have done using the date picker options “dateFormat” → “m月d日”.

However, here’s my issue. While the query loop functions great and spits out the date, I cannot do any logical conditions with those dates. What I mean is, I wish to have an overlay div render and darken the past date. I currently have my conditions as follows:

Here are the query loops:


Here is the code:

I tried to convert it to normal style so instead of 10月25日 it outputs 1025 but echoing that value does nothing {echo:convert_date_format(‘{mb_events_monthly_events_event_starting_time_and_date}’, ‘md’)}.

I know the code screenshot shows to replace 月 with /, but even removing that and using empty quotes does not work. Also, don’t pay attention to the comments, I have changed Bard’s code quite a bit.

I have a feeling that Bricks is not yet ready to deal with dynamic data into echo function. If this is indeed the case, is there a way I can do something similar?