- incorrect handling by date picker of some Date format (short)

This commit is contained in:
Max Pozdeev 2010-11-24 22:43:11 +03:00
parent 0d907a28f5
commit e7a0e5882e

View file

@ -553,12 +553,13 @@ var mytinytodo = window.mytinytodo = _mtt = {
case 'j': return 'd';
case 'm': return 'mm';
case 'n': return 'm';
case '/':
case '.':
case '-': return t;
default: return '';
}
});
if(s == '') return 'yy-mm-dd';
return s;
},