Ticket #2975: dateparse.patch
File dateparse.patch, 567 bytes (added by , 18 years ago) |
---|
-
django/contrib/admin/media/js/dateparse.js
169 169 handler: function(bits) { 170 170 var d = new Date(); 171 171 d.setYear(parseInt(bits[1])); 172 d.setMonth(parseInt(bits[2], 10) - 1); 172 173 d.setDate(parseInt(bits[3], 10)); 173 d.setMonth(parseInt(bits[2], 10) - 1);174 174 return d; 175 175 } 176 176 },