Code msg.payload : array[40]array[40][0 … 9]0: objectdt: 1522422000main: objecttemp: 12.8temp_min: 11.63temp_max: 12.8pressure: 1002.28sea_level: 1012.31grnd_level: 1002.28humidity: 86temp_kf: 1.17weather: array[1]clouds: objectwind: objectrain: objectsys: objectdt_txt: "2018-03-30 15:00:00"
<div style="display: flex;height: 100%;justify-content: center;align-items: center;">
<i class="fa-2x wi wi-owm-{{msg.payload[5].weather[0].icon}}"></i>
</div>
<div ng-bind-html="msg.payload[5].main.temp"></div>
<div ng-bind-html="msg.payload[5].dt_txt"></div>
'.toFixed(0)'-appendix is fully OK and works fine. Thanks for your advice.
Is anybody here to help in deleting the 'date'-information out of the timestamp?
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/5aaa7042-efa3-4e26-95eb-46065fbc8414%40googlegroups.com.