Problems getting the task list

Comments

1 comment

  • Brian Stengaard

    Hi Victoria,

    The Podio DSL for specifying dates works like this:

    Accepts:
    - date in format Y-M-D
    - range of dates Y-M-D--Y-M-D
    - relative dates

    Relative date examples:
    - +1d - plus 1 day
    - +1w - plus one week
    - +1wr - to the beginning of the next calendar week
    - +1m - plus one calendar month
    - +1mr - to the beginning of the next calendar month
    - +1y - plus one calendar year
    - +1yr - to the beginning of the next calendar year

    So in your case the code becomes:

     $tasks = PodioTask::get_all(array(
    'space' => $space_id,
    'completed' => 'false',
    'limit' => 100,
    'due_date' => '-0d--+1d')
    );

    Cheers, 

    Brian

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk