sawhney17 / logseq-smartblocks

MIT License
171 stars 12 forks source link

Questions re If functions #8

Open BrianBarry opened 2 years ago

BrianBarry commented 2 years ago

Your examples:

if it's the 100th day of the year <%if dayofyear = 100: text to be entered%>

How would you format: <%if dayofyear = July 3: text to be entered%>

Does 7/3 work?

if it's either january or a monday <%if month = 100|| if dayofweek = 1|| : text to be entered%>

I don't understand: if month = 100

Should that have been: ifmonth = 1 ?

sawhney17 commented 2 years ago

At the moment 3rd july would be 184, but I agree this is an oversight on my part and i'll try and improve the experience here.

Fixed the readme as well, it was supposed to be the month is equal to 1.