function formatDate(time) {
var timeTemp = getDate(time);
var timeString = timeTemp.toLocaleDateString() + timeTemp.toLocaleTimeString();
return timeString.replace('/','-').replace('/','-').replace('上午',' ').replace('下午',' ');
}
module.exports.formatDate = formatDate;
{{ item.description }}
{{wxs.formatDate(item.gmtCreated)}}
+
{{ item.price / 100 }}
-
{{ item.price / 100 }}