@moollaza, how are you looking at the source code? This is what I got when I tried...
```javascript
function (a){var c=a.match(/([\d]{4})\-([\d]{2})\-([\d]{2})(?:T([\d]{2}):([\d]{2}):([\d]{2}))?/);if(c){for(var b=0;b<7;b++){if(c[b]===undefined){c[b]=false}}var a=new Date(c[1],c[2]-1,c[3],c[4],c[5],c[6]);return a}} 
```