So I'm trying to follow the instructions on the MET Office API to upload my weatherdata to their global site and I've joined all my different mqtt flows etc. but having problem with the time format.
In their manual they state:
The date must be in the following format: YYYY-mm-DD HH:mm:ss, where ':' is encoded as %3A, and the space is encoded as either '+' or %20. An example, valid date would be: 2011-02-29+10%3A32%3A55, for the 2nd of Feb, 2011 at 10:32:55. Note that the time is in 24 hour format. Also note that the date must be adjusted to UTC time - equivalent to the GMT time zone.. This is especially important for users outside the UK, and British users must also take note of the difference between British Summer Time and UTC
I added the node-red-contrib-moment
and set the output to their YYYY-MM-DD+HH%3Amm%3Ass
but in the output it get's formatted as 2018-12-18%2019%3PM12%3PM47
, ie %3A
get converted to %3PM
and the site throws me a bad request!