Reputation: 832
I have a very simple map written in Liquid and executed in a Logic App. The map contains only this :
{
"myDate": "{{ "now" }}"
}
The ouput of the map is
{
"myDate": "Now"
}
According to the Liquid documentation it is the right way to generate the current datetime. I tried to put the N in uppercase but it does not work.
Maybe there is a list of supported Liquid features somewhere?
I also tried to apply filters like the date
filter in order to change the format of a datetime, but the map is not working as expected.
Upvotes: 1
Views: 865
Reputation: 1474
You have to format the output as this example
{
"Date" : "{{ "now" | Date: "MM/dd/yyyy" }}"
}
Upvotes: 1