How to format date

Hello,

What’s the date format accepted for allowedFromDate & allowedUntilDate in Swagger UI ?

I’m sending the date in atom format 2023-02-08T13:00:00+00:00 and in NukiWeb, it says the access date time is 14h00 (I’m in Paris/Europe).

Should I always need to send time in UTC timezone and Nuki is localizing ?

Regards

Hello,

The date format should be: 2023-02-09T14:17:06.879Z
The Smart Lock time is set in UTC format.

Hello,

Sorry for digging up this message.
I’m sending the date in UTC timezone but a user is saying the hours is not adapted to the Nuki location timezone.
He’s in Germany (UTC+2 in summer) and the hours remain in UTC.
Is there something I miss in my development (WordPress plugin) ?

Thank you

Hello,

What is the timezone set on the Smart lock?
Is it Berlin? If yes, then it is UTC+1 so it could differ.

You can also check it via the API GET /smartlock → config → timezoneId
If you tell me the ID, I would tell you the timezone.
For e.g. 37 = Berlin timezone