Datepicker formatDate can't handle predefined standard date formats

Datepicker formatDate can't handle predefined standard date formats

At http://docs.jquery.com/UI/Datepicker#option-dateFormat I've read that formats are avaiable from
"For a full list of the possible formats see the formatDate function."

There are predefined standard date formats like ATOM, or W3C ... If I set W3C the script handles it like it's a literal text.

I didn't expect that.

Here is my code, using jquery 1.4.4, jquery ui 1.8.6, livequery plugin 1.1.1

  1. $( "#productionInterval" ).livequery(function() {
        var dates = $( "#productionStart, #productionEnd" ).datepicker({
            maxDate: "-1d",
            minDate: "-100y",
            changeYear: true,
            yearRange: "c-100:c",
            dateFormat: "W3C",
            onSelect: function( selectedDate ) {
                var option = this.id == "productionStart" ? "minDate" : "maxDate",
                instance = $( this ).data( "datepicker" );
                date = $.datepicker.parseDate(
                    instance.settings.dateFormat ||
                    $.datepicker._defaults.dateFormat,
                    selectedDate, instance.settings );
                dates.not( this ).datepicker( "option", option, date );
            }
        });
        $("#productionStart").focus();
    });