没有时间的日期的可映射参数

问题描述

我正在实现具有以下要求的API:

到期日期应以没有时间的格式发送。

这怎么办? Integromat文档提到日期对象的布尔值"time" parameter,但似乎没有任何影响。

问题是:我该怎么做:"spent_on": "2020-02-19T23:00:00.000Z"看起来像这样:"spent_on": "2020-02-20"

 {
   "name": "spent_on","label": "Spent on the Date","type": "date","time": false,"required": true
 }

解决方法

我确定您现在已经知道了,但是如果现在:在Integromat文本字段中具有formatDate。然后您会看到formatDate(2020-02-19T23:00:00.000Z; YYYY-MM-DD)