Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    FilterBuilder date matching problem

    I have a datasource for a Fitler builder defined with a field as follows:

    Code:
    Evaluator: result of 'searchBuilder.filterBuilder.dataSource.fields.created' (15ms):
    {editorType: "Date",
    validOperators: Array[7],
    name: "created",
    dateFormatter: "toUSShortDate",
    type: "date",
    length: 200,
    title: "created",
    validators: Array[1]}
    (This is the result of evaluating the datasource field in the console)

    I use filterBuilder.getCriteria() to send the criteria to the server.

    On the server the criteria value shows up as:
    'Mon Dec 05 00:00:00 EST 2011'

    It looks as though the dateFormatter (toUSShortDate) is not performing any conversion.

    There are no custom operators defined for the datasource and no conversion of the criteria is being performed on the client.

    Thoughts?
    -pf

    #2
    Nix this request. Found the problem.

    Comment

    Working...
    X