MV Sense - Daylight saving time is not calculated properly

ChrisLee
New here

MV Sense - Daylight saving time is not calculated properly

Hi,

 

I am trying to get the weekly data with Analytics Overview API - https://developer.cisco.com/meraki/mv-sense/#!rest-api/analytics-overview

 

My camera is currently configured as Australia/Melbourne(AEST) timezone. And last Sunday (5th/April/2020) finished daylight saving time. Since then, below request has been failed because of the time adjustment.

 

My request body is as below:

 

GET https://api.meraki.com/api/v0/devices/{{serial}}/camera/analytics/overview?t0=1586005200&t1=15866135...

 

1586005200
- GMT: Saturday, April 4, 2020 13:00:00
- Your time zone: Sunday, April 5, 2020 0:00:00 GMT+11:00 DST

 

1586613599
- GMT: Saturday, April 11, 2020 13:59:59
- Your time zone: Saturday, April 11, 2020 23:59:59 GMT+10:00

 

The result is as below:

 

{
    "errors": [
        "timespan is too large"
    ]
}

 

 

Can you tell me how I fix this issue?

 

 

1 REPLY 1
PhilipDAth
Kind of a big deal

As far as I am aware, the camera and API only work in UTC - they have no concept of day light savings time.

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.