Raw format doesn't have a message queue output.I got some debug output, but I had to modify the users url trigger and remove the &format=raw at the end.
Sorry, offset doesn't exist for cb:date; thought it did, but was confusing the format function with core substitution. There's no way to stop it from offsetting. You'll need to use the below format function.:: Action 164 :: Conditional 2 failed for 322: 01-18 Equal to [cb:date format="m-d" offset="UTC"/]
So that doesn't really work either.
Please Log in or Create an account to join the conversation.
It might be considered a bit arrogant to expect me as a 'non joomla programmer' to know that, despite that I've used Joomla for some time...krileon wrote:
Raw format doesn't have a message queue output.I got some debug output, but I had to modify the users url trigger and remove the &format=raw at the end.
Ok, now I got some output that looks correct.krileon wrote:
Sorry, offset doesn't exist for cb:date; thought it did, but was confusing the format function with core substitution. There's no way to stop it from offsetting. You'll need to use the below format function.:: Action 164 :: Conditional 2 failed for 322: 01-18 Equal to [cb:date format="m-d" offset="UTC"/]
So that doesn't really work either.
[cb:parse function="date" date-format="m-d" time="false"]now[/cb:parse]
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
That'll work fine.With the above result in mind I have to go through all the date comparisons I do here.
Is it possible to test current date with just:
[cb:parse function="date" date-format="m-d" time="false"]now[/cb:parse] EQUAL TO 09-30
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
No, that'll only work for integer or float comparisons. You'd need the timestamp to be able to do that, which you can get using the time format function. Note that converting from string to time just utilizes strtotime basically and you need to provide a validate date (of which 09-30 is not as it has no year).One more short question, can I also use 'Greater Than Or Equal To' on that, or will that fail?
Please Log in or Create an account to join the conversation.