2
0

(setVariable) Add "Moment of the day" variable value

Closes #564
This commit is contained in:
Baptiste Arnaud
2023-06-15 14:45:42 +02:00
parent fbe63aa3f3
commit d8c1a36bc0
6 changed files with 41 additions and 7 deletions

View File

@@ -88,7 +88,15 @@ For example,
:::
## Map
## Moment of the day
It will set your variable with either one of these values based on the user's time of the day: `morning`, `afternoon`, `evening`, `night`.
Then you can use this variable to conditionally display content:
<img src="/img/blocks/logic/moment-condition.png" width="400" alt="Moment of the day condition"/>
## Map item with same index
This is a convenient value block that allows you to easily get an item from a list that has the same index as an item from another list.

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB