Use date and time format from current locale

Fixes #41