Added datePriority: function ()