Fix for issue #11

Implemented first day of week depending on locale