Slight change to PHPFINA get_data_DMY()

I’ve merged a pull request by @CDuffy that is a slight change to PHPFINA get_data_DMY(), thanks @CDuffy! Change get_data_DMY() to return all requested values by CDuffers · Pull Request #773 · emoncms/emoncms · GitHub

A query to the get data dmy api now includes the value at the end time, I cant see any issue in the emoncms apps module or graph, but knowing my luck on testing it may result in an issue somewhere :slight_smile:

Request result now:

1517529600, 123.0
1517616000, 120.0
1517702400, 118.0
1517788800, 122.0
1517875200, 127.0
1517961600, 112.0
1518048000, 120.0
1518134400, 123.0
1518220800, null

vs previously:

1517529600, 123.0
1517616000, 120.0
1517702400, 118.0
1517788800, 122.0
1517875200, 127.0
1517961600, 112.0
1518048000, 120.0
1518134400, 123.0

(the end time of the request was 1518220800)