fix directives pattern and add test for exceptions
add week days functions
Merge pull request #8 from igas/formatter-exceptions

fix directives pattern and add test for exceptions
Merge pull request #9 from igas/week-days

add week days functions