When specifying as start 'Beginning of Day' and as end '+48' the following URL is generated/called
{"url":"https://vrmapi.victronenergy.com/v2/installations/xxx/stats?type=custom&attributeCodes[]=vrm_solar_irradiance_fc&type=custom&attributeCodes%5B%5D=vrm_solar_irradiance_fc&interval=hours&start=1717020000&end=1717253999","options":{},"headers":{"X-Authorization":"Token xxx","accept":"application/json","User-Agent":"nrc-vrm-api/0.2.4"}}
start=1717020000 (30 May 2024 00:00:00)
end=1717253999 (1 June 2024 16:59:59)
This is incorrect and results with very strange timestamps or 60+ records
You would expect an end close to 1717192799 (31 May 2024 23:59:59)
Maybe it is related to a issue where the month is changing here to June?