Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Liam Dilley 172 posts 402 karma points
    Feb 15, 2024 @ 00:25
    Liam Dilley
    0

    Content Delivery API - Custom filter on date

    Hi All, I have a doc type and a property which is a text string which is a date. (Its from external source)

    I have made a few custom text filters but struggling with a date one.

    • I need to grab the string and convert it to a date?
    • When you return the new filter option Values is an array of strings so you can not parse a date into that to check?

    I am not sure how to go about it. Can anyone help please?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies