Posted on Fri, 13 Oct 2017 by YannickAdmin Answered
I'm trying to integrate the current weather api - so far so good. I stumbled over a few details, one is the way you provide sunset and sunrise information in rendered to string information. in my case the times are off by the standard UTC offset (in my case +2).
It's nice, that the api response is human readable, but as it's consumed mostly by machines, it would be way better to get such information in numerical datetime format. this way the utc offset correction for display are simple to implement on the client (instead of parsing your data back and forth..).
Did I miss a magic query parameter to overcome this problem?