Indicate correct formatting for format()

The doc states to use formatting like in date() function. This is simply wrong as it uses formatting as in strftime().

For example: date('j') != strftime('%j')
Merge pull request #853 from hakito/master

Indicate correct formatting for format()