Fixed implicit declaration of var _pad in function date()

Also renamed the  variable ```default``` in the commented block for "T" to ```_default``` as it was a keyword and would possibly cause trouble.

...and sorry for commiting the .gitignore - i have to get used to the whole pull-request and cherry pick thing >.<