Better handling of weekday names. Fixes #77.