Start a new topic

Does Kinvey query support the ISO 8601 "Duration" formats?

We are storing durations in ISO-8601 Duration format, e.g. "PT30M"

When using this in a query, e.g. query.lessThanOrEqualTo(), Kinvey seems to treat it as string comparison. E.g. "PT1H"

Is this duration format supported in a query but we just aren't configuring/querying it right? Or should we look into alternative formats?

Hi JTlai,

Unfortunately we don't support durations as a format, only [ISO for dates/times]( "ISO for dates/times").
Got it. Thanks for confirming!
Login or Signup to post a comment