Calendar Keyword modifier not working

I am trying to write a keyword modifier that checks to see if a calendar event has the same start and end day, if so, I want to print the word hidden since it will be used for an html class.

 

Here is what I used:

%event_end_datetime_j^eq:{event_start_datetime_j}:hidden:%

For some reason it is never true, so it never prints the word hidden. But, I can print those two keywords out individually and they are indeed the same.

 

Ideas?

Hi Nic
Is it missing the replace_keywords modifer?
%event_end_datetime_j^replace_keywords:eq:{event_start_datetime_j}:hidden:%
Tahnsk
Peter

Hey Nic, 

 

Can confirm that Peters solution works

 

Anthony

 

Hi Nic
Is it missing the replace_keywords modifer?
%event_end_datetime_j^replace_keywords:eq:{event_start_datetime_j}:hidden:%
Tahnsk
Peter

 

 

That worked, thank you!