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 156 posts 382 karma points
    Feb 15, 2024 @ 00:25
    Liam Dilley

    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?

Please Sign in or register to post replies

Write your reply to: